blob: 14b469208c292383a464b708038790253a5de3b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/execlineb -P
# Write a message to /var/log/syslogd
foreground
{
s6-ipcclient -l0 /dev/log
fdmove 1 7
s6-echo "/etc/rc.shutdown: shutdown requested"
}
# Shut down all services
s6-rc -da change
|