repo.or.cz
/
buildroot-gz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
expedite: use a tar.bz2 tarball to save bandwitdh and disk space
[buildroot-gz.git]
/
package
/
dcron
/
S90dcron
blob
de21d2ca1385ac96f175314973adb964d4495b1c
1
#!/bin/sh
2
3
case
"
$1
"
in
4
start
)
5
printf
"Starting cron ... "
6
start-stop-daemon
-S -q -m -b -p
/
var
/
run
/
dcron.pid
--exec
/
usr
/
sbin
/
crond
-- -f
7
echo
"done."
8
;;
9
stop
)
10
printf
"Stopping cron ..."
11
start-stop-daemon
-K -q -p
/
var
/
run
/
dcron.pid
12
echo
"done."
13
;;
14
restart
)
15
$0
stop
16
sleep
1
17
$0
start
18
;;
19
*)
20
echo
"usage:
$0
{start|stop|restart}"
21
;;
22
esac