(2006-08-06) rescue-bootcd
This commit is contained in:
0
rootfs/etc/fstab
Normal file
0
rootfs/etc/fstab
Normal file
7
rootfs/etc/inittab
Normal file
7
rootfs/etc/inittab
Normal file
@@ -0,0 +1,7 @@
|
||||
::sysinit:/etc/rc.sysinit
|
||||
::once:/dodeeds.sh
|
||||
::ctrlaltdel:/sbin/reboot
|
||||
::shutdown:/etc/rc.sysuninit
|
||||
::restart:/sbin/init
|
||||
|
||||
|
||||
0
rootfs/etc/mtab
Normal file
0
rootfs/etc/mtab
Normal file
11
rootfs/etc/rc.sysinit
Executable file
11
rootfs/etc/rc.sysinit
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
# montar proc y sys
|
||||
/bin/mount -n -t proc proc /proc
|
||||
/bin/mount /dev/rd/0 / -o rw,remount
|
||||
/bin/cat /proc/mounts > /etc/mtab
|
||||
/bin/mount -n -t sysfs sysfs /sys
|
||||
|
||||
# iniciar una consola auxiliar
|
||||
/usr/bin/openvt 2 /bin/sh
|
||||
4
rootfs/etc/rc.sysuninit
Executable file
4
rootfs/etc/rc.sysuninit
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
/bin/umount -a -r
|
||||
/sbin/swapoff -a
|
||||
Reference in New Issue
Block a user