summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/rc.tini
blob: 67a79b33c212a7b1c53e36d4772a50c19ac1b10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/command/execlineb -P

# Write a message to /var/log/syslogd

foreground
{
  s6-ipcclient -l0 /dev/log
  fdmove 1 7
  s6-echo "/etc/rc.tini: shutdown requested"
}


# Shut down all services

s6-rc -da change