Compare commits
2 commits
f5f93ae0c8
...
271dc6fc6f
Author | SHA1 | Date | |
---|---|---|---|
271dc6fc6f | |||
4353bfb6b9 |
1 changed files with 1 additions and 9 deletions
|
@ -333,18 +333,10 @@ if [ -z "$VIRTUALIZATION" ]; then
|
|||
udevadm control --exit
|
||||
fi
|
||||
|
||||
msg "Sending TERM signal to processes..."
|
||||
pkill --inverse -s0,1 -TERM
|
||||
sleep 1
|
||||
msg "Sending KILL signal to processes..."
|
||||
pkill --inverse -s0,1 -KILL
|
||||
|
||||
if [ -z "$VIRTUALIZATION" ]; then
|
||||
msg "Unmounting filesystems, disabling swap..."
|
||||
swapoff -a
|
||||
umount -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs
|
||||
msg "Remounting rootfs read-only..."
|
||||
mount -o remount,ro /
|
||||
fi
|
||||
|
||||
sync
|
||||
|
@ -360,7 +352,7 @@ if [ -z "$VIRTUALIZATION" ]; then
|
|||
fi
|
||||
]])
|
||||
|
||||
add_packages({ "runit", "procps", "eudev" })
|
||||
add_packages({ "runit", "eudev" })
|
||||
modules.runit.add_service("getty-tty1", [[#!/bin/sh
|
||||
exec chpst -P getty 38400 tty1 linux]])
|
||||
modules.runit.add_service("getty-tty2", [[#!/bin/sh
|
||||
|
|
Loading…
Reference in a new issue