From: hackbard Date: Sun, 11 Oct 2015 16:01:01 +0000 (+0200) Subject: small addon txt X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=e48a4ae6fe9f718e7f68ae6b4cd664c8d7c88347;p=outofuni%2Fbackup.git small addon txt --- diff --git a/bin/backupctrl b/bin/backupctrl index 90640d8..1315f84 100755 --- a/bin/backupctrl +++ b/bin/backupctrl @@ -36,14 +36,15 @@ function detect() { echo detect else + txt="`grep ^# ~/.backup | cut -d ' ' -f 2-`" if [ -z "`cat ~/.backup | grep ^off`" ]; then echo - echo backup activated + echo backup activated, $txt echo detect else echo - echo backup rejected + echo backup rejected, $txt echo detect "kill" fi