diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-09-16 14:23:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-09-16 14:23:42 -0300 |
commit | a490a1bf3e668674760cdda4e46f2e472fc3460c (patch) | |
tree | 4feb42b5478cff407d37824c6c68f55a121eed7a /share/keyringer/newkeys | |
parent | ae2c26a64065e48bc2f863d9f7648b7a49b072f7 (diff) | |
download | keyringer-a490a1bf3e668674760cdda4e46f2e472fc3460c.tar.gz keyringer-a490a1bf3e668674760cdda4e46f2e472fc3460c.tar.bz2 |
Code cleanup
Diffstat (limited to 'share/keyringer/newkeys')
-rwxr-xr-x | share/keyringer/newkeys | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/keyringer/newkeys b/share/keyringer/newkeys index 95b052b..531cf42 100755 --- a/share/keyringer/newkeys +++ b/share/keyringer/newkeys @@ -3,12 +3,13 @@ # Create keys for new nodes. # -# Config -ACTIONS="`dirname $0`" -BASEDIR="$1" +# Load functions +LIB="`dirname $0`/../../lib/keyringer/functions" +source $LIB +keyringer_set_env $* + +# Aditional parameters COMMAND="$2" -BASENAME="`basename $0`" -OPTIONS="$BASEDIR/config/options" function newkeys_nodes { # See http://www.mail-archive.com/puppet-users@googlegroups.com/msg01615.html |