Subversion Repositories livecd

Rev

Rev 212 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 212 Rev 240
Line 609... Line 609...
609
    if [ -e /etc/sysconfig/network-scripts/ifcfg-${iface} ]; then
609
    if [ -e /etc/sysconfig/network-scripts/ifcfg-${iface} ]; then
610
	echo "DHCP_HOSTNAME=${HOSTNAME}" >> /etc/sysconfig/network-scripts/ifcfg-${iface}
610
	echo "DHCP_HOSTNAME=${HOSTNAME}" >> /etc/sysconfig/network-scripts/ifcfg-${iface}
611
    fi
611
    fi
612
done
612
done
613
 
613
 
-
 
614
### add hostname to /etc/hosts
-
 
615
#   (only for SL4)
-
 
616
if [ -e /etc/hotplug/blacklist ]; then
-
 
617
    sed -i "s/localhost$/localhost $HOSTNAME/" /etc/hosts
-
 
618
fi
-
 
619
 
614
echo "Hostname set to: $HOSTNAME"
620
echo "Hostname set to: $HOSTNAME"
615
echo
621
echo
616
 
622
 
617
### set cups server
623
### set cups server
618
if [ $CUPS ]; then
624
if [ $CUPS ]; then