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:
Felix Fietkau
2006-11-22 23:06:40 +00:00
parent 392966798b
commit bd8e5fb7db
4 changed files with 9 additions and 0 deletions

12
package/busybox/files/cron Executable file
View 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
}