X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Finstall-bootscripts;h=44e0134167400b970ee6e3166c334da2e4510570;hb=73a55f8a2af3d6cf80db24307a87345e3d3e5ad3;hp=d6acdd02e1a302dd08ddc3f17e9d962133fb2d2c;hpb=38a036800434ff4f8381cfb921b2f216937a43e9;p=hvlinux.git diff --git a/stage2/install-bootscripts b/stage2/install-bootscripts index d6acdd0..44e0134 100755 --- a/stage2/install-bootscripts +++ b/stage2/install-bootscripts @@ -55,6 +55,10 @@ echo "INTERFACES_DN=\"${INTERFACES} lo\"" >> /etc/sysconfig/network/network-para cat >> /etc/sysconfig/network/network-parameters << EOF +# Signal to other scripts that all network interfaces have been started +# (especially usefull to prevent mountnetfs bootscript to block forever) +NETWORKING_UP_FILE=/var/run/networking-up + # On which network interface(s) to activate the DHCP server. # Leave empty or comment the line to disable the DHCP server. #DHCP_SERVER_IF="eth0" @@ -62,6 +66,12 @@ cat >> /etc/sysconfig/network/network-parameters << EOF # Set to "yes" to enable the NFS server: NFS_SERVER_ENA="no" +# Set to "yes" to enable the SSH server: +SSH_SERVER_ENA="no" + +# Set to "yes" to enable the DNS server: +DNS_SERVER_ENA="no" + # Set FIREWALL_ENA to "yes" to enable the firewall: FIREWALL_ENA="no" # Set FIREWALL_WWW to the ethernet interface connected to the outside world (internet): @@ -85,9 +95,9 @@ fi sed -i -e "s!^\(export PATH=\).*tools.*!\1/bin:/usr/bin:/sbin:/usr/sbin!" /etc/rc.d/init.d/functions # Copying boot scripts -STAGE2_BOOTSCRIPTS="ifdown ifup keyboard mountnetfs network sysklogd" +STAGE2_BOOTSCRIPTS="ifdown ifup keyboard mountnetfs network syslogd klogd" for bootscript in ${STAGE2_BOOTSCRIPTS}; do - install -m755 bootscripts/${bootscript} /etc/rc.d/init.d + install -v -m755 bootscripts/${bootscript} /etc/rc.d/init.d done # Necessary because bootscript_add_* scripts use ${LFS} when @@ -95,7 +105,8 @@ done export LFS= # rcsysinit.d -bootscript_add_rcsysinit sysklogd 50 93 +bootscript_add_rcsysinit syslogd 50 93 +bootscript_add_rcsysinit klogd 51 92 bootscript_add_rcsysinit keyboard 55 00 # rc3.d