mirror of https://github.com/hak5/openwrt.git
parent
13238256d1
commit
39701f3264
|
@ -1,8 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
|
[ -d /etc/crontabs ] || mkdir -p /etc/crontabs
|
||||||
|
[ -e /var/spool/cron/crontabs ] || {
|
||||||
[ -e /var/spool/cron/crontabs ] && {
|
mkdir -p /var/spool/cron
|
||||||
mkdir -p /var/spool/cron
|
ln -s /etc/crontabs /var/spool/cron/crontabs
|
||||||
ln -s /etc/crontabs /var/spool/cron
|
} && crond -c /etc/crontabs
|
||||||
}
|
|
||||||
crond -c /etc/crontabs
|
|
||||||
|
|
Loading…
Reference in New Issue