# normal run levels
l1:1:wait:/bin/bash -i -l
+#l1:1:wait:/etc/rc 1
l2:2:wait:/etc/rc 2
l3:3:wait:/etc/rc 3
l4:4:wait:/etc/rc 4
# Run gettys in standard runlevels
-1:2345:respawn:/bin/sh
-#2:2345:respawn:/bin/sh
-#3:2345:respawn:/bin/sh
-#4:2345:respawn:/bin/sh
-#5:2345:respawn:/bin/sh
+1:2345:respawn:/bin/bash -l -i
#1:2345:respawn:/sbin/mingetty tty1
#2:2345:respawn:/sbin/mingetty tty2
#3:2345:respawn:/sbin/mingetty tty3
#
# Start/stop services when switching run levels
#
+argv1="$1"
+
+if [ $argv1 -eq 1 ] ; then
+ exec init -t1 S
+fi
+
exit 0
# dhcpcd below to dhclient if you are running RedHat
#
-if ifconfig eth0 >/dev/null 2>&1 ; then
+DHCPCD=/bin/dhcpcd
+if [ ! -x $DHCPCD ] ; then
+ DHCPCD=/bin/dhclient
+fi
+if ifconfig eth0 >/dev/null 2>&1 ; then
echo "Setting up network..."
- /bin/dhcpcd $eth0
-
+ $DHCPCD eth0
echo "done"
ifconfig
exit
-
fi
echo "No network card present, cannot configure network"
/* */
#undef VERSION
#define VERSION "2.0.0"
-#define BDATE "25 December 2006"
-#define LSMDATE "25Dec06"
+#define BDATE "28 December 2006"
+#define LSMDATE "28Dec06"