mirror of https://github.com/fspc/gbootroot.git
freesource
24 years ago
13 changed files with 154 additions and 0 deletions
@ -0,0 +1 @@ |
|||||
|
Welcome to YardBoot rescue disk |
@ -0,0 +1 @@ |
|||||
|
VC# B9600 SANE CLOCAL # B9600 SANE -ISTRIP CLOCAL #Log_in_as_root: #VC |
@ -0,0 +1,17 @@ |
|||||
|
# Default runlevel. |
||||
|
id:5:initdefault: |
||||
|
|
||||
|
# Run rc when system boots |
||||
|
si:S:sysinit:/etc/rc |
||||
|
|
||||
|
# NB. This uses getty, not agetty. |
||||
|
|
||||
|
c1:1235:respawn:/sbin/getty tty1 VC linux |
||||
|
c2:1235:respawn:/sbin/getty tty2 VC linux |
||||
|
c3:5:respawn:/sbin/getty tty3 VC linux |
||||
|
c4:5:respawn:/sbin/getty tty4 VC linux |
||||
|
c5:5:respawn:/sbin/getty tty5 VC linux |
||||
|
c6:45:respawn:/sbin/getty tty6 VC linux |
||||
|
|
||||
|
ca::ctrlaltdel:/sbin/shutdown -t5 -rfn now |
||||
|
|
@ -0,0 +1,21 @@ |
|||||
|
# Default runlevel. |
||||
|
id:5:initdefault: |
||||
|
|
||||
|
# Run rc when system boots |
||||
|
si:S:sysinit:/etc/rc |
||||
|
|
||||
|
# NOTE: THIS IS FOR SLACKWARE AGETTY ONLY! Other versions of agetty |
||||
|
# use a different argument order that will cause agetty to |
||||
|
# hang. |
||||
|
# Check these calls against your own /etc/inittab ! |
||||
|
# Note: for 'agetty' you use linespeed, line. |
||||
|
# for 'getty_ps' you use line, linespeed and also use 'gettydefs' |
||||
|
c1:1235:respawn:/sbin/agetty 38400 tty1 linux |
||||
|
c2:1235:respawn:/sbin/agetty 38400 tty2 linux |
||||
|
c3:5:respawn:/sbin/agetty 38400 tty3 linux |
||||
|
c4:5:respawn:/sbin/agetty 38400 tty4 linux |
||||
|
c5:5:respawn:/sbin/agetty 38400 tty5 linux |
||||
|
c6:45:respawn:/sbin/agetty 38400 tty6 linux |
||||
|
|
||||
|
ca::ctrlaltdel:/sbin/shutdown -t5 -rfn now |
||||
|
|
@ -0,0 +1,18 @@ |
|||||
|
# Default runlevel. |
||||
|
id:5:initdefault: |
||||
|
|
||||
|
# Run rc when system boots |
||||
|
si:S:sysinit:/etc/rc |
||||
|
|
||||
|
# NOTE: THIS IS FOR DEBIAN ONLY! Other versions of agetty |
||||
|
# use a different argument order that will cause agetty to |
||||
|
# hang. |
||||
|
# Check these calls against your own /etc/inittab ! |
||||
|
c1:1235:respawn:/sbin/getty 38400 tty1 |
||||
|
c2:1235:respawn:/sbin/getty 38400 tty2 |
||||
|
c3:5:respawn:/sbin/getty 38400 tty3 |
||||
|
c4:5:respawn:/sbin/getty 38400 tty4 |
||||
|
c5:5:respawn:/sbin/getty 38400 tty5 |
||||
|
c6:45:respawn:/sbin/getty 38400 tty6 |
||||
|
|
||||
|
ca::ctrlaltdel:/sbin/shutdown -t5 -rfn now |
@ -0,0 +1,17 @@ |
|||||
|
# Default runlevel. |
||||
|
id:2:initdefault: |
||||
|
|
||||
|
# Run rc when system boots |
||||
|
si:I:sysinit:/etc/rc |
||||
|
|
||||
|
# NOTE: THIS IS FOR SUSE MINGETTY ONLY! |
||||
|
# Check these calls against your own /etc/inittab ! |
||||
|
# |
||||
|
1:123:respawn:/sbin/mingetty --noclear tty1 |
||||
|
2:123:respawn:/sbin/mingetty tty2 |
||||
|
3:123:respawn:/sbin/mingetty tty3 |
||||
|
4:123:respawn:/sbin/mingetty tty4 |
||||
|
5:123:respawn:/sbin/mingetty tty5 |
||||
|
6:123:respawn:/sbin/mingetty tty6 |
||||
|
|
||||
|
ca::ctrlaltdel:/sbin/shutdown -t5 -rfn now |
@ -0,0 +1,16 @@ |
|||||
|
# Simple /etc/nsswitch.conf for a rescue disk |
||||
|
passwd: files |
||||
|
shadow: files |
||||
|
group: files |
||||
|
hosts: files |
||||
|
services: files |
||||
|
networks: files |
||||
|
protocols: files |
||||
|
rpc: files |
||||
|
ethers: files |
||||
|
netmasks: files |
||||
|
bootparams: files |
||||
|
automount: files |
||||
|
aliases: files |
||||
|
netgroup: files |
||||
|
publickey: files |
@ -0,0 +1,8 @@ |
|||||
|
# Simple pam.conf for rescue disk |
||||
|
# Be sure to include the libraries in the fourth column |
||||
|
# in Bootdisk_contents |
||||
|
OTHER auth optional /lib/security/pam_permit.so |
||||
|
OTHER auth optional /lib/security/pam_permit.so |
||||
|
OTHER account optional /lib/security/pam_permit.so |
||||
|
OTHER password optional /lib/security/pam_permit.so |
||||
|
OTHER session optional /lib/security/pam_permit.so |
@ -0,0 +1,8 @@ |
|||||
|
# Simple pam.conf for rescue disk |
||||
|
# Be sure to include the libraries in the fourth column |
||||
|
# in Bootdisk_contents |
||||
|
auth optional /lib/security/pam_permit.so |
||||
|
auth optional /lib/security/pam_permit.so |
||||
|
account optional /lib/security/pam_permit.so |
||||
|
password optional /lib/security/pam_permit.so |
||||
|
session optional /lib/security/pam_permit.so |
@ -0,0 +1,4 @@ |
|||||
|
root::0:0:root:/root:/bin/sh |
||||
|
halt:*:7:0:halt:/sbin:/sbin/halt |
||||
|
shutdown:*:6:0:shutdown:/sbin:/sbin/shutdown |
||||
|
sync:*:5:0:sync:/sbin:/bin/sync |
@ -0,0 +1,20 @@ |
|||||
|
#!/bin/sh |
||||
|
# |
||||
|
# /etc/rc: System initialization script. |
||||
|
# |
||||
|
|
||||
|
# Compute module dependencies |
||||
|
/sbin/depmod -a |
||||
|
|
||||
|
# Start up kerneld if desired |
||||
|
#/sbin/kerneld |
||||
|
|
||||
|
# Mount everything mentioned in fstab |
||||
|
/bin/mount -av |
||||
|
|
||||
|
# Set host name |
||||
|
/bin/hostname Rescue |
||||
|
|
||||
|
# If you need to load a keyboard map, uncomment this line and |
||||
|
# fix the pathnames: |
||||
|
#/usr/sbin/loadkeys /usr/lib/kbd/keytables/defkeymap.map |
@ -0,0 +1,17 @@ |
|||||
|
# a cut down version of /etc/termcap: terminal capability database. |
||||
|
# Just define linux console |
||||
|
|
||||
|
linux|console|con80x25|dumb:\ |
||||
|
:do=^J:co#80:li#25:cl=\E[H\E[J:sf=\ED:sb=\EM:\ |
||||
|
:le=^H:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\ |
||||
|
:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[27m:us=\E[4m:ue=\E[m:\ |
||||
|
:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:is=\E[1;25r\E[25;1H:\ |
||||
|
:ll=\E[1;25r\E[25;1H:al=\E[L:dc=\E[P:dl=\E[M:\ |
||||
|
:it#8:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:ti=\E[r\E[H:\ |
||||
|
:ho=\E[H:kP=\E[5~:kN=\E[6~:kH=\E[4~:kh=\E[1~:kD=\E[3~:kI=\E[2~:\ |
||||
|
:k1=\E[[A:k2=\E[[B:k3=\E[[C:k4=\E[[D:k5=\E[[E:k6=\E[17~:\ |
||||
|
:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:K1=\E[1~:K2=\E[5~:\ |
||||
|
:K4=\E[4~:K5=\E[6~:\ |
||||
|
:pt:sr=\EM:vt#3:xn:km:bl=^G:vi=\E[?25l:ve=\E[?25h:vs=\E[?25h:\ |
||||
|
:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:\ |
||||
|
:r1=\Ec:r2=\Ec:r3=\Ec: |
@ -0,0 +1,6 @@ |
|||||
|
console tty1 |
||||
|
console tty2 |
||||
|
console tty3 |
||||
|
console tty4 |
||||
|
console tty5 |
||||
|
console tty6 |
Loading…
Reference in new issue