diff options
author | Oliver Ertl <oliver@ertl-net.net> | 2006-01-02 20:21:33 +0000 |
---|---|---|
committer | Oliver Ertl <oliver@ertl-net.net> | 2006-01-02 20:21:33 +0000 |
commit | 39701f32649edbd4576397f88a4f9b282f0005d8 (patch) | |
tree | f7916922347519c0dc3e3efdb55eee376321b3cc /openwrt/package/base-files/default/etc | |
parent | 13238256d1929ec0576599f43d4397780eb06c29 (diff) | |
download | mtk-20170518-39701f32649edbd4576397f88a4f9b282f0005d8.zip mtk-20170518-39701f32649edbd4576397f88a4f9b282f0005d8.tar.gz mtk-20170518-39701f32649edbd4576397f88a4f9b282f0005d8.tar.bz2 |
hopefully last fix for S60cron
SVN-Revision: 2812
Diffstat (limited to 'openwrt/package/base-files/default/etc')
-rwxr-xr-x | openwrt/package/base-files/default/etc/init.d/S60cron | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S60cron b/openwrt/package/base-files/default/etc/init.d/S60cron index bd12b8b..6069b81 100755 --- a/openwrt/package/base-files/default/etc/init.d/S60cron +++ b/openwrt/package/base-files/default/etc/init.d/S60cron @@ -1,8 +1,6 @@ #!/bin/sh [ -d /etc/crontabs ] || mkdir -p /etc/crontabs - -[ -e /var/spool/cron/crontabs ] && { - mkdir -p /var/spool/cron - ln -s /etc/crontabs /var/spool/cron -} - crond -c /etc/crontabs +[ -e /var/spool/cron/crontabs ] || { + mkdir -p /var/spool/cron + ln -s /etc/crontabs /var/spool/cron/crontabs +} && crond -c /etc/crontabs |