mirror of https://github.com/hak5/openwrt.git
parent
13238256d1
commit
39701f3264
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue