move busybox init scripts from base-files into the busybox package and make them depend on busybox menuconfig options
SVN-Revision: 5620
This commit is contained in:
12
package/busybox/files/cron
Executable file
12
package/busybox/files/cron
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user