projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix displayed name in init script help text
[openwrt.git]
/
package
/
base-files
/
default
/
etc
/
init.d
/
S60cron
diff --git
a/package/base-files/default/etc/init.d/S60cron
b/package/base-files/default/etc/init.d/S60cron
index
6647fe1
..
a450c36
100755
(executable)
--- a/
package/base-files/default/etc/init.d/S60cron
+++ b/
package/base-files/default/etc/init.d/S60cron
@@
-1,5
+1,12
@@
-#!/bin/sh
-[ -d /etc/crontabs ] && {
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2006 OpenWrt.org
+
+start () {
mkdir -p /var/spool/cron
mkdir -p /var/spool/cron
+ ln -s /etc/crontabs /var/spool/cron/crontabs
crond -c /etc/crontabs
}
crond -c /etc/crontabs
}
+
+stop() {
+ killall crond
+}
This page took
0.026806 seconds
and
4
git commands to generate.