repo.or.cz
/
qi-bootmenu-system.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add syslog init script
[qi-bootmenu-system.git]
/
rootfs-overlay
/
etc
/
init.d
/
syslog
blob
a9928758d5c00eb45d6eaa7d817f5e9439644211
1
#!/bin/sh
2
3
case
"
$1
"
in
4
start
)
5
syslogd ||
echo
"Starting syslogd failed."
6
klogd ||
echo
"Starting klogd failed."
7
;;
8
stop
)
9
killall syslogd
10
killall klogd
11
;;
12
restart
)
13
$0
stop
14
$0
start
15
;;
16
*)
17
echo
"Usage:
$0
{start|stop|restart}"
18
exit
1
19
;;
20
esac
21
22
exit
0