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