aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-25 08:57:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-25 08:57:43 +0200
commit828c2687cc2e5b6f11394f4497eb0396d2863723 (patch)
treebb37f6d72ac3784a26cdddd6a5d670584597018f /init
parentded734ddd8218b41c05921e4f5ec5dcdbf110ed0 (diff)
Update to latest Debian testing
systemd/udev 243-8 qemu-system-x86 4.1-1+b4 linux-image-amd64 5.2.17 g++ 9.2.1-19 initramfs-tools 0.135 debootstrap 1.0.116
Diffstat (limited to 'init')
-rwxr-xr-xinit8
1 files changed, 4 insertions, 4 deletions
diff --git a/init b/init
index a0edb50..bc1452c 100755
--- a/init
+++ b/init
@@ -22,7 +22,7 @@ function error ()
#
info "type Ctrl-D to exit shell and reboot"
setsid /bin/bash -c "exec /bin/bash -i <>/dev/tty1 1>&0 2>&1"
- reboot
+ reboot -f
}
# Some pre-systemd utilities (like reboot) come from klibc-utils.
@@ -40,7 +40,7 @@ mount -t proc -o nodev,noexec,nosuid proc /proc
info "init starting up..."
-mount -t devtmpfs -o nosuid,mode=0755 udev /dev
+mount -t devtmpfs -o noexec,nosuid,mode=0755 udev /dev
mkdir -p /dev/pts
mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
@@ -49,10 +49,10 @@ mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
# toolchain.
#
mkdir -p /run
-mount -t tmpfs -o "noexec,nosuid,size=512M,mode=0755" tmpfs /run
+mount -t tmpfs -o nodev,noexec,nosuid,size=512M,mode=0755 tmpfs /run
mkdir -p /tmp
-mount -t tmpfs -o "nodev,nosuid,size=2G,mode=1777" tmpfs /tmp
+mount -t tmpfs -o nodev,nosuid,size=2G,mode=1777 tmpfs /tmp
# Start udev.
#