From 7c2add23fba2a8b1adf5ee2fcdf8f7522ee213ce Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 19 Apr 2006 12:10:55 +0000 Subject: enable start of cron service git-svn-id: http://svn.openslx.org/svn/openslx/ld4@189 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/distro-specs/ubuntu/functions-5.10 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'initrd/distro-specs/ubuntu') diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index e2834835..7282e302 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -2,7 +2,7 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz , 12-04-2006 +# Author(s): Dirk von Suchodoletz , 19-04-2006 # Nico Dietrich # Felix Endres # @@ -111,8 +111,9 @@ fi config_cron () { if [ "x$start_cron" = "xyes" ] ; then if [ -f /mnt/etc/init.d/cron ] ; then - testmkd /mnt/var/spool/cron/lastrun - testmkd /mnt/var/spool/cron/tabs + rllinker "cron" "18" "02" + # fixme! check for proper permissions! + testmkd /mnt/var/spool/crontabs echo -e "# /etc/crontab - file generated by $0:\n\ #\t$date\nSHELL=/bin/sh\nPATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin\ \nMAILTO=\n-*/15 * * * *\troot\ttest -x /usr/lib/cron/run-crons && \ -- cgit v1.2.3-55-g7522