X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.sh;h=e7840525d59e82284ceb86dcad14830fc6dc598a;hb=db98445203a2f5f5e1b962395d68a185f3e576b1;hp=b7be938b95019e769bfcf5d5efaa22968cc349c3;hpb=3a573f58b49f40c659c7b024997d42be644e3868;p=bootcd.git diff --git a/build.sh b/build.sh index b7be938..e784052 100755 --- a/build.sh +++ b/build.sh @@ -548,9 +548,12 @@ EOF popd # update etc/inittab to start with pl_rsysinit - sed -i 's,pl_sysinit,pl_rsysinit,' etc/inittab + for file in etc/inittab etc/event.d/rcS etc/init/rcS.conf; do + [ -f $file ] && sed -i 's,pl_sysinit,pl_rsysinit,' $file + done # modify inittab to have a serial console + # xxx this might well be broken with f12 and above xxx if [ -n "$serial" ] ; then echo "T0:23:respawn:/sbin/agetty -L $console_dev $console_baud vt100" >> etc/inittab # and let root log in