Skip to content

Commit

Permalink
inittab: don't remount / if booted via nfsroot
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Aug 31, 2024
1 parent ad45039 commit e9c948b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay/lower/etc/inittab
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# see https://git.busybox.net/busybox/tree/examples/inittab for help

::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/sh -c 'if ! grep -q nfs /proc/mounts; then /bin/mount -o remount,rw /; fi'
::sysinit:/bin/mkdir -p /dev/pts
::sysinit:/bin/mkdir -p /dev/shm
::sysinit:/bin/mount -a
Expand Down

0 comments on commit e9c948b

Please sign in to comment.