repo.or.cz
/
cinitramfs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some cleanup
[cinitramfs.git]
/
script
/
example_shutdown.sh
blob
4a454a375f367fc21e4116001965ea361c36e06a
1
#!/bin/sh
2
/
sbin
/
dhcpcd
--exit
3
/
usr
/
bin
/
pkill
--pidfile
/
var
/
run
/
syslog-ng.pid
4
/
usr
/
sbin
/
alsactl store
5
/
sbin
/
hwclock
--utc --systohc
6
7
/
bin
/
sync
8
if
test
"$(basename
$0
)"
=
"reboot.sh"
;
then
9
/
sbin
/
reboot
-f
10
fi
11
12
if
test
"$(basename
$0
)"
=
"poweroff.sh"
;
then
13
/
sbin
/
poweroff
-f
14
fi