mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
target/generic: inittab: fix devpts mounts when devtmpfs is used
If devtmpfs (the kernel-maintained /dev filesystem) is used, no /dev/pts directory is created, causing the devpts mount to fail, which in term causes stuff like dropbear to fail. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
3bb02f5ba5
commit
d39641ccd6
@ -16,6 +16,7 @@
|
|||||||
# Startup the system
|
# Startup the system
|
||||||
null::sysinit:/bin/mount -o remount,rw /
|
null::sysinit:/bin/mount -o remount,rw /
|
||||||
null::sysinit:/bin/mount -t proc proc /proc
|
null::sysinit:/bin/mount -t proc proc /proc
|
||||||
|
null::sysinit:/bin/mkdir -p /dev/pts
|
||||||
null::sysinit:/bin/mount -a
|
null::sysinit:/bin/mount -a
|
||||||
null::sysinit:/bin/hostname -F /etc/hostname
|
null::sysinit:/bin/hostname -F /etc/hostname
|
||||||
null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
|
null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user