diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-11-01 15:11:37 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-11-01 15:11:37 +0000 |
commit | b9c2635fbea1b9d39e97bdf4c84bd2be676d5531 (patch) | |
tree | b65d46a32d8f8b2a1edfb835ed95de63fb5157c3 /backupninja | |
parent | 10f8123274d8ba57ae11fb7fc728d77d55396aa2 (diff) | |
download | slackbuilds-b9c2635fbea1b9d39e97bdf4c84bd2be676d5531.tar.gz slackbuilds-b9c2635fbea1b9d39e97bdf4c84bd2be676d5531.tar.bz2 |
backupninja: rub fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@564 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'backupninja')
-rwxr-xr-x | backupninja/backupninja.SlackBuild | 2 | ||||
-rw-r--r-- | backupninja/rub | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/backupninja/backupninja.SlackBuild b/backupninja/backupninja.SlackBuild index 498e0709..bfdccf16 100755 --- a/backupninja/backupninja.SlackBuild +++ b/backupninja/backupninja.SlackBuild @@ -18,7 +18,7 @@ fi PACKAGE="backupninja" ARCH="noarch" VERSION=${VERSION:=0.9.4} -BUILD=${BUILD:=1rha} +BUILD=${BUILD:=2rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} diff --git a/backupninja/rub b/backupninja/rub index cdbc9e05..e05b6fd1 100644 --- a/backupninja/rub +++ b/backupninja/rub @@ -13,7 +13,7 @@ # [general] # log = rsync log file # partition = partition where the backup lives -# fsck = set to 1 if fsck should run on $partition after the backup is made +# fscheck = set to 1 if fsck should run on $partition after the backup is made # read_only = set to 1 if $partition is mounted read-only # mountpoint = backup partition mountpoint or backup main folder # backupdir = folder relative do $mountpoint where the backup should be stored @@ -40,7 +40,7 @@ # initscripts = absolute path where scripts are located # service = script name to be stoped at the begining of the backup and started at its end # -# You can also specify some system comands: +# You can also specify some system comands if you don't want the default system values: # # [system] # rm = rm command @@ -65,7 +65,7 @@ getconf fsck fsck setsection general getconf log /var/log/backupninja-rub.log getconf partition -getconf fsck +getconf fscheck getconf read_only getconf mountpoint getconf backupdir @@ -319,7 +319,7 @@ fi # check partition for errors -if [ "$fsck" == "1" ] || [ "$fsck" == "yes" ]; then +if [ "$fscheck" == "1" ] || [ "$fscheck" == "yes" ]; then umount $mountpoint if (($?)); then warning "Could not umount $mountpoint to run fsck" |