mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
Merge pull request #1236 from justincormack/shutdown
Better shutdown script
This commit is contained in:
commit
e022009cdc
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user