Skip to content

Commit

Permalink
Merge pull request #604 from balcirakpeter/k5login_root
Browse files Browse the repository at this point in the history
k5login_root dest_file configurable
  • Loading branch information
zlamalp authored Jun 24, 2021
2 parents 0e35069 + f9b879a commit f413d58
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slave/process-k5login-root/bin/process-k5login_root.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ PROTOCOL_VERSION='3.0.0'


function process {
DST_FILE="/root/.k5login"
if [ -z "$DST_FILE" ]; then
DST_FILE="/root/.k5login"
fi

### Status codes
I_CHANGED=(0 "${DST_FILE} updated")
Expand Down
7 changes: 7 additions & 0 deletions slave/process-k5login-root/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
perun-slave-process-k5login-root (3.1.5) stable; urgency=low

* Add possibility to change destination file (default is /root/.k5login).
It may be set in a pre-script as a variable DST_FILE

-- Peter Balcirak <[email protected]> Tue, 15 Jun 2021 10:32:00 +0200

perun-slave-process-k5login-root (3.1.4) stable; urgency=medium

* Changed architecture to all
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

#export DST_FILE="/root/.k5login"

0 comments on commit f413d58

Please sign in to comment.