]> git.sesse.net Git - backup.sh/blobdiff - backup.sh
Englishify a bit.
[backup.sh] / backup.sh
index 221e371fd1f070e187d9f8cf5f2e6de483be951f..307a14f23aae338f15b76d4c795aa0823ccdd180 100755 (executable)
--- a/backup.sh
+++ b/backup.sh
@@ -68,9 +68,6 @@ echo `date`": Backup run starting" >&2
 umask 027
 
 
-#selve backupen
-# krever at noen variabler er satt
-# krever at vi er i rett katalog
 backup()
 {
 
@@ -133,7 +130,7 @@ backup()
   # Update timestamp
   echo $DATEs > ../.date && touch -t $DATE ../.date
 
-  # Make a sorted filelist as well
+  # Make a sorted file list as well
   sort -k6 < $DATE.idx > $DATE.sdx
 
   # Fix permissions
@@ -214,7 +211,7 @@ backup()
    fi
  fi
 
- # Try to run preexec if it exist
+ # Try to run preexec if it exists
  if ! ssh root@$computer "[ ! -f ~/.backup/preexec ] || /bin/bash -x ~/.backup/preexec" >&2; then
        echo `date`" $computer: Could not run $computer:~/.backup/preexec"
        die