diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2009-07-27 08:30:47 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2009-07-27 08:30:47 +0000 |
commit | bcd7c685b1caa81f2142e92da7e5a24332f501d4 (patch) | |
tree | bf13a5562581f9b471416fd0be99de0931557fde | |
parent | 44cc08f7570548fd543e1c49f3a43f0ed24765cd (diff) | |
download | draksnapshot-bcd7c685b1caa81f2142e92da7e5a24332f501d4.tar draksnapshot-bcd7c685b1caa81f2142e92da7e5a24332f501d4.tar.gz draksnapshot-bcd7c685b1caa81f2142e92da7e5a24332f501d4.tar.bz2 draksnapshot-bcd7c685b1caa81f2142e92da7e5a24332f501d4.tar.xz draksnapshot-bcd7c685b1caa81f2142e92da7e5a24332f501d4.zip |
(generate_cron_entry) add a standard shell shebang to the generated cron files
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@258616 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | draksnapshot-config | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -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 # |