Changeset 1716 in MondoRescue for branches/2.2.5/mindi/rootfs/sbin/init
- Timestamp:
- Oct 28, 2007, 2:03:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/rootfs/sbin/init
r1698 r1716 250 250 fi 251 251 fi 252 } 253 254 RunUdevd() { 255 # Inspiration from LFS docs 256 mkdir -p /lib/udev/devices && 257 mknod -m0666 /lib/udev/devices/null c 1 3 258 ln -sf /proc/self/fd /lib/udev/devices/fd && 259 ln -sf /proc/self/fd/0 /lib/udev/devices/stdin && 260 ln -sf /proc/self/fd/1 /lib/udev/devices/stdout && 261 ln -sf /proc/self/fd/2 /lib/udev/devices/stderr && 262 ln -sf /proc/kcore /lib/udev/devices/core && 263 mkdir -p /lib/udev/devices/{pts,shm} 264 cp -R /lib/udev/devices/* /dev 265 udevd --daemon 252 266 } 253 267 … … 448 462 export PATH GROOVY USER LOGFILE 449 463 450 echo "Welcome to init (from mindi ${MINDI_VER}-r${MINDI_REV} "464 echo "Welcome to init (from mindi ${MINDI_VER}-r${MINDI_REV})" 451 465 452 466 mount -o remount rw / … … 463 477 echo 0 > /proc/sys/kernel/exec-shield 2>> /dev/null 464 478 479 if [ -e "/tmp/USE-UDEV" ] ; then 480 RunUdevfsd 481 fi 482 echo "Starting potential Raid/LVMs ..." 465 483 ExtractDevTarballs 466 484 LaunchTerminals
Note:
See TracChangeset
for help on using the changeset viewer.