mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
initdev -> initmounts
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
log_action_begin_msg "Setting up block and net devices"
|
||||
|
||||
ln -snf /proc/mounts /etc/mtab
|
||||
|
||||
( cd /sys/class/block; for d in *; do /sbin/initblockdev $d add; done )
|
||||
if [ -d /sys/class/ubi ]; then
|
||||
( cd /sys/class/ubi; for d in *; do /sbin/initblockdev $d add; done )
|
||||
fi
|
||||
( cd /sys/class/net; for d in *; do /sbin/initnetdev $d add; done )
|
||||
|
||||
log_action_end_msg 0
|
||||
|
||||
log_action_begin_msg "Mounting filesystems"
|
||||
initmounts -q
|
||||
log_action_end_msg 0
|
||||
6
packages/base/all/boot.d/src/50.initmounts
Executable file
6
packages/base/all/boot.d/src/50.initmounts
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
log_action_begin_msg "Mounting filesystems..."
|
||||
initmounts -q
|
||||
log_action_end_msg 0
|
||||
Reference in New Issue
Block a user