projects
/
outofuni
/
backup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small addon txt
[outofuni/backup.git]
/
bin
/
backupctrl
diff --git
a/bin/backupctrl
b/bin/backupctrl
index
90640d8
..
1315f84
100755
(executable)
--- a/
bin/backupctrl
+++ b/
bin/backupctrl
@@
-36,14
+36,15
@@
function detect() {
echo
detect
else
echo
detect
else
+ txt="`grep ^# ~/.backup | cut -d ' ' -f 2-`"
if [ -z "`cat ~/.backup | grep ^off`" ]; then
echo
if [ -z "`cat ~/.backup | grep ^off`" ]; then
echo
- echo backup activated
+ echo backup activated
, $txt
echo
detect
else
echo
echo
detect
else
echo
- echo backup rejected
+ echo backup rejected
, $txt
echo
detect "kill"
fi
echo
detect "kill"
fi