Test if symbolic is already there (#886)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5442 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
e669927c9b
commit
36f10c5837
|
@ -3,7 +3,7 @@
|
|||
|
||||
start () {
|
||||
mkdir -p /var/spool/cron
|
||||
ln -s /etc/crontabs /var/spool/cron/crontabs
|
||||
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
|
||||
crond -c /etc/crontabs
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue