X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fdirvish-setup;h=bef4524b59833a6d6b400640fc755b454a5b2adc;hb=12b3ac5b42b404e8f6b4d70fb9530b82213118f4;hp=842a0643397fc524b1a078b7f895b9d55df87607;hpb=021e9ecd0ee33c3ec9f9774cfabe972b93bc59da;p=grml-scripts.git diff --git a/usr_sbin/dirvish-setup b/usr_sbin/dirvish-setup index 842a064..bef4524 100755 --- a/usr_sbin/dirvish-setup +++ b/usr_sbin/dirvish-setup @@ -4,9 +4,8 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Mär 10 10:46:39 CET 2007 [mika] ################################################################################ -# Ressources: +# Resources: # http://apt-get.dk/howto/backup/ # http://edseek.com/~jasonb/articles/dirvish_backup/advanced.html # http://www.dirvish.org/svn/contrib/admin/DailyEmailScript/dirvish-status.sh @@ -18,7 +17,7 @@ set -e . /etc/grml/lsb-functions check4root -check4progs dirvish rsync ssh-keygen ssh-copy-id +check4progs dialog dirvish rsync ssh-keygen ssh-copy-id PN="$0" CONFFILE=/etc/dirvish/master.conf @@ -72,7 +71,7 @@ EOF # TODO / integrate? cronsetup() { - test -f ~/.keychain/`uname -n`-sh && source ~/.keychain/`uname -n`-sh + test -f ~/.keychain/`uname -n`-sh && . ~/.keychain/`uname -n`-sh } get_backup_dir() { @@ -176,7 +175,7 @@ case "$1" in ;; esac -# now run the funtions: +# now run the functions: get_backup_dir && \ client_name && \ tree_name && \