diff options
author | intrigeri <intrigeri@boum.org> | 2011-05-15 19:29:28 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2011-05-15 19:29:28 +0200 |
commit | 7757ab245ae9397136b4cdff4f98e4a7cca7dc21 (patch) | |
tree | 96716645748d2bd6734df5483002047f21b69118 /handlers/sys.in | |
parent | bacaea7ad6a275db9b633c25afbc19f559b97c65 (diff) | |
parent | 69c0ec09c5e5eb9e166bc0f5c9a1ef702d0150d6 (diff) | |
download | backupninja-7757ab245ae9397136b4cdff4f98e4a7cca7dc21.tar.gz backupninja-7757ab245ae9397136b4cdff4f98e4a7cca7dc21.tar.bz2 |
Merge commit 'backupninja-0.9.9' into debian
Diffstat (limited to 'handlers/sys.in')
-rwxr-xr-x | handlers/sys.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/handlers/sys.in b/handlers/sys.in index fcf3e31..74133a3 100755 --- a/handlers/sys.in +++ b/handlers/sys.in @@ -103,7 +103,7 @@ getconf lvm no getconf vsnames all # If vservers are configured, check that the ones listed in $vsnames are running. -local usevserver=no +usevserver=no if [ $vservers_are_available = yes ]; then if [ "$vsnames" = all ]; then vsnames="$found_vservers" @@ -350,7 +350,7 @@ STATUS="Getting kernel version:" catifexec "/bin/uname" "-a" STATUS="Checking module information:" catifexec "/sbin/lsmod" -for x in $(/sbin/lsmod | /bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null +for x in $(/sbin/lsmod | /usr/bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null ) ; do STATUS="Checking module information $x:" catifexec "/sbin/modinfo" "$x" @@ -542,7 +542,7 @@ fi # if [ "$hardware" == "yes" ]; then - if [ "dohwinfo" == "yes" ]; then + if [ "$dohwinfo" == "yes" ]; then if [ -f $hardwarefile ]; then rm $hardwarefile fi |