Code Review
/
packages
/
trusty
/
cirros-testvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git]
/
cirros-testvm
/
src-cirros
/
buildroot-2015.05
/
package
/
sysklogd
/
S01logging
1
#!/bin/sh
2
3
case "$1" in
4
start)
5
echo -n "Starting logging: "
6
/sbin/syslogd -m 0
7
/sbin/klogd
8
echo "OK"
9
;;
10
stop)
11
echo -n "Stopping logging: "
12
[ -f /var/run/klogd.pid ] && kill `cat /var/run/klogd.pid`
13
[ -f /var/run/syslogd.pid ] && kill `cat /var/run/syslogd.pid`
14
echo "OK"
15
;;
16
restart|reload)
17
$0 stop
18
$0 start
19
;;
20
*)
21
echo "Usage: $0 {start|stop|restart}"
22
exit 1
23
esac
24
25
exit $?