summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-config3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 2eb907b..1b03f5e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- configurator:
+ o add a standard shell shebang to the generated cron files
+
Version 0.20.1 - 15 April 2009, Thierry Vignaud
- updated translations
diff --git a/draksnapshot-config b/draksnapshot-config
index 4f94990..4563760 100755
--- a/draksnapshot-config
+++ b/draksnapshot-config
@@ -339,7 +339,8 @@ sub generate_cron_entry() {
foreach my $type (qw(hourly daily weekly monthly)) {
my $file = sprintf($cron_file, $type);
output_with_perm($file, 0755,
- qq(# WARNING: This file is autogenerated from /etc/rsnapshot.conf.
+ qq(#!/bin/sh
+# WARNING: This file is autogenerated from /etc/rsnapshot.conf.
# WARNING: Please alter /etc/rsnapshot.conf instead of $cron_file
# Then rerun draksnapshot-config
#