X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fdirvish-setup;h=817c36d8229688a518e6735ec4ede75d8dd5bba4;hb=b0c3e5ff760f99d6ff7721852bc1a0d73c5ea201;hp=6344f6506b5da245f588c85a6d3a383426cfc826;hpb=6a945abd95edfe802dc1bef05cce685150fc947c;p=grml-scripts.git diff --git a/usr_sbin/dirvish-setup b/usr_sbin/dirvish-setup index 6344f65..817c36d 100755 --- a/usr_sbin/dirvish-setup +++ b/usr_sbin/dirvish-setup @@ -4,7 +4,6 @@ # 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: Fre Mär 09 19:45:57 CET 2007 [mika] ################################################################################ # Ressources: # http://apt-get.dk/howto/backup/ @@ -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 @@ -56,7 +55,7 @@ Runall: $CLIENT 22:00 # add-another-client-here 22:00 -# See http://www.dirvish.org/debian.howto.html for further details: + # See http://www.dirvish.org/debian.howto.html for further details: expire-default: +30 days expire-rule: # MIN HR DOM MON DOW STRFTIME_FMT @@ -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() { @@ -149,7 +148,7 @@ display_info() { einfo "Running $PN was successful. Enjoy using dirvish!" ; eend 0 echo einfo "Please adjust ${BACKUP_DIR}/${CLIENT}/dirvish/default.conf according to your needs. -$MASTERINFO +$MASTERINFO Then run the following command to create an initial backup: dirvish --summary long --vault $CLIENT --init