diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index b747a53e88..988e3a7f89 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -14,6 +14,7 @@ /usr/bin/busybox mkdir -p /flash /usr/bin/busybox mkdir -p /sysroot /usr/bin/busybox mkdir -p /storage +/usr/bin/busybox mkdir -p /run # temp mountpoint for updates /usr/bin/busybox mkdir -p /update @@ -22,6 +23,8 @@ /usr/bin/busybox mount -t devtmpfs devtmpfs /dev /usr/bin/busybox mount -t proc proc /proc /usr/bin/busybox mount -t sysfs sysfs /sys +# /run options have to match what systemd uses by default +/usr/bin/busybox mount -t tmpfs -o mode=755,size=20%,nr_inodes=800k,nosuid,nodev,strictatime tmpfs /run UPDATE_ROOT=/storage/.update UPDATE_DIR="$UPDATE_ROOT"