Merge pull request #1236 from justincormack/shutdown

Better shutdown script
This commit is contained in:
Justin Cormack 2017-03-01 17:54:35 -08:00 committed by GitHub
commit e022009cdc
2 changed files with 6 additions and 2 deletions

View File

@ -8,4 +8,8 @@
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
#::shutdown:/sbin/openrc shutdown
::shutdown:/usr/sbin/killall5 -15
::shutdown:/bin/sleep 5
::shutdown:/usr/sbin/killall5 -9
::shutdown:/bin/echo "Unmounting filesystems"
::shutdown:/bin/umount -a -r

View File

@ -1,5 +1,5 @@
kernel: "mobylinux/kernel:7fa748810d7866797fd807a5682d5cb3c9c98111"
init: "mobylinux/init:ecc2f4a116aca240081754ca063151c52d3e697c"
init: "mobylinux/init:1d498af0fe0909b95eefc53ef6d4b43be82d77ae"
system:
- name: binfmt
image: "mobylinux/binfmt:a94e0587b702edaa95cc6f303464959d0eb2311c@sha256:432732b90cbe0498f5ca148d75b90bb1eabd8fbfe8c872df8b23906c225091b1"