From: Christian B. <c.b...@tu...> - 2002-11-04 20:24:05
|
Hi! > 2) I'm not sure how to leave myself with a busybox shell using inittab Some time ago, I've got the same problem. My inittab looks like this: -------------------------------8<--------------------------------------------------------- # Stuff on boot ::sysinit:/etc/init.d/rc.sysinit # Stuff to run once ::once:/etc/init.d/rcS # Start an "askfirst" shell on the console (whatever that may be) ::askfirst:-/bin/sh # Stuff to do before rebooting ::ctrlaltdel:/sbin/reboot -------------------------------8<--------------------------------------------------------- My /etc/init.d/rcS, where I'm starting some essential services, looks like : -------------------------------8<--------------------------------------------------------- #!/bin/sh echo "Mounting /proc filesystem..." mount -t proc none /proc sleep 1 echo "Configuring lo..." /sbin/ifconfig lo 127.0.0.1 up echo "Starting slattach..." /sbin/slattach /dev/ttySC1 sleep 1 echo "Configuring sl0..." /sbin/ifconfig sl0 192.168.200.92 pointopoint 192.168.200.91 up # 192.168.200.92 is my Dreamcast # 192.168.200.91 is my computer, both attached through # the coders cable sleep 1 echo "Starting utelnetd..." /usr/sbin/utelnetd -d sleep 1 echo "Everything's done..." -------------------------------8<--------------------------------------------------------- Hope, I could help you, Chris |