From 08845cec6393482a60493e465f0ba13727386f5b Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 8 May 2016 20:22:16 +0200 Subject: bin/set_volume: Making script not depend on functions.sh anymore. Introducing bash strict mode. --- bin/backup-settings | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 bin/backup-settings (limited to 'bin/backup-settings') diff --git a/bin/backup-settings b/bin/backup-settings deleted file mode 100755 index 1a9cc12..0000000 --- a/bin/backup-settings +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/sh - -etcTMP=/tmp/etc.tgz -etcIF=/etc -OF=/home/dave/ownCloud/backup/settings -gpgEND=.gpg - -echo "Backing up /etc directory." -tar cfPz $etcTMP $etcIF -echo "Encrypting compressed directory." -su - dave -c "gpg -e -r 'David Runge ' $etcTMP" -echo "Changing permissions on file." -chown dave:dave $etcTMP$gpgEND -echo "Moving backup to ownCloud." -mv -f $etcTMP$gpgEND $OF -echo "Cleaning up." -rm $etcTMP -echo "Done." - -- cgit v1.2.3-70-g09d2