]> git.sur5r.net Git - bacula/rescue/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Thu, 28 Dec 2006 09:39:53 +0000 (09:39 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 28 Dec 2006 09:39:53 +0000 (09:39 +0000)
rescue/linux/cdrom/roottree/etc/inittab
rescue/linux/cdrom/roottree/etc/rc
rescue/linux/cdrom/roottree/etc/start_network.sh
rescue/version.h

index 0bf95f3284f1b01f83686eaa9ac3687742a4b0ac..64c66243f927f5b80fae518bbb5c61893c6ffd3a 100644 (file)
@@ -25,6 +25,7 @@ l0:0:wait:/sbin/halt -fd
 
 # 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
@@ -38,11 +39,7 @@ ca::ctrlaltdel:/sbin/halt -d
 
 
 # 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
index 84c6b1d3ae2caacf0d21c716b35f375f9fbb29d2..285734f6c5fe09f4abb29df65d9dd2e61703743d 100755 (executable)
@@ -4,4 +4,10 @@
 #
 # Start/stop services when switching run levels
 #
+argv1="$1"
+
+if [ $argv1 -eq 1 ] ; then
+   exec init -t1 S
+fi
+
 exit 0
index 65a22fe30cc0c25f7e931d50cb245f1c559e09f8..9df7ab356e54779b80773d3cc280fca765b22a51 100755 (executable)
@@ -7,16 +7,18 @@
 #  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"
index 3237b71919266fd47f4e8d799bfbb67f438c5a38..bbef25d75c856e669fac2eb4a528194b89ab74b1 100644 (file)
@@ -1,5 +1,5 @@
 /* */
 #undef  VERSION
 #define VERSION "2.0.0"
-#define BDATE   "25 December 2006"
-#define LSMDATE "25Dec06"
+#define BDATE   "28 December 2006"
+#define LSMDATE "28Dec06"