]> git.sesse.net Git - backup.sh/commitdiff
om vi ikke har exclude blir den nĂ¥ laget med et enkelt innhold
authorroot <empty>
Thu, 15 Jun 2000 16:03:48 +0000 (16:03 +0000)
committerroot <empty>
Thu, 15 Jun 2000 16:03:48 +0000 (16:03 +0000)
backup.sh

index ce5caa9594111b367a52c69f7f328f664582800b..749a7a535d6abf3dc18dcaed59c38cf801729686 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -7,6 +7,7 @@ storagedir=/backup                   #mountpoint of huge disc
 ###
 
 exclude=$confdir/exclude
+[ ! -f $exclude ] && printf "tmp\ncore\n" > $exclude
 
 PATH=/local/bin:$PATH
 export PATH