Added the "Emacs comment line" on top of every shell file.
[matthijs/upstream/backupninja.git] / handlers / sys.helper
index 060e96c200af6d3539bb2336cf0a8069846753cc..2d48ea5d94b04eb7c50e282c98512d379d080463 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
 HELPERS="$HELPERS sys:general_hardware_and_system_info"
 
 sys_wizard() {
@@ -27,6 +28,6 @@ $hardware
 # partitionsfile = /var/backups/partitions.__star__.txt
 # hardwarefile = /var/backups/hardware.txt
 EOF
-   chmod 000 $next_filename
+   chmod 600 $next_filename
 }