X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Finstall-bootscripts;h=6cfef2ab25e01be2486849eefb39d3edb202613d;hb=d1040a12fae93e20587519a732730cb4c9cb5050;hp=c3a2edd75ad608660aa019ba4e064a4e1bf32e86;hpb=114ae232b33e1f8dde2418af5fd3c0f0b5e035dd;p=hvlinux.git diff --git a/stage2/install-bootscripts b/stage2/install-bootscripts index c3a2edd..6cfef2a 100755 --- a/stage2/install-bootscripts +++ b/stage2/install-bootscripts @@ -49,12 +49,20 @@ fi # "/etc/sysconfig/network/network-parameters" file creation echo "#!/bin/sh" > /etc/sysconfig/network/network-parameters +echo "" >> /etc/sysconfig/network/network-parameters +echo "# Run network script in the background, to speed-up boot time." >> \ + /etc/sysconfig/network/network-parameters +echo "BACKGROUND_START=no" >> /etc/sysconfig/network/network-parameters +echo "" >> /etc/sysconfig/network/network-parameters echo "DOMAINNAME=\"${DOMAIN}\"" >> /etc/sysconfig/network/network-parameters -echo "INTERFACES_UP=\"lo ${INTERFACES}\"" >> /etc/sysconfig/network/network-parameters -echo "INTERFACES_DN=\"${INTERFACES} lo\"" >> /etc/sysconfig/network/network-parameters +echo "INTERFACES=\"lo ${INTERFACES}\"" >> /etc/sysconfig/network/network-parameters 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" @@ -65,6 +73,9 @@ 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):