mirror of https://github.com/hak5/openwrt.git
13 lines
230 B
Plaintext
13 lines
230 B
Plaintext
|
#!/bin/sh /etc/rc.common
|
||
|
# Copyright (C) 2006 OpenWrt.org
|
||
|
|
||
|
start () {
|
||
|
mkdir -p /var/spool/cron
|
||
|
[ -L /var/spool/cron/crontabs ] || ln -s /etc/crontabs /var/spool/cron/crontabs
|
||
|
crond -c /etc/crontabs
|
||
|
}
|
||
|
|
||
|
stop() {
|
||
|
killall crond
|
||
|
}
|