some cleanup
[cinitramfs.git] / script / example_shutdown.sh
blob4a454a375f367fc21e4116001965ea361c36e06a
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
7 /bin/sync
8 if test "$(basename $0)" = "reboot.sh"; then
9 /sbin/reboot -f
12 if test "$(basename $0)" = "poweroff.sh"; then
13 /sbin/poweroff -f