[PC-BSD Commits] r291 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Thu Jun 7 12:17:38 PDT 2007


Author: kris
Date: 2007-06-07 20:17:38 +0100 (Thu, 07 Jun 2007)
New Revision: 291

Removed:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.CustomFirewall.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.CustomNet.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SetupFirewall.sh
Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
Log:

Removed firewall config + Changed network config to defaults



Deleted: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.CustomFirewall.sh

Deleted: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.CustomNet.sh

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh	2007-06-07 17:33:04 UTC (rev 290)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh	2007-06-07 19:17:38 UTC (rev 291)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-HOST="${1}"
+HOST="pcbsd"
 
 # echo the big /etc/hosts file
 
@@ -40,7 +40,7 @@
 # Grep out the old hostname
 cat /mnt/etc/rc.conf | grep -v "hostname=" > /tmp/rc.tmp
 mv /tmp/rc.tmp /mnt/etc/rc.conf
-echo "hostname=\"${HOST}\"" >> /mnt/etc/rc.conf
+echo "hostname=\"pcbsd\"" >> /mnt/etc/rc.conf
 
 # Now Setup the DHCP for each card
 config="`ifconfig -l`"

Deleted: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SetupFirewall.sh

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2007-06-07 17:33:04 UTC (rev 290)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.SysConfig.sh	2007-06-07 19:17:38 UTC (rev 291)
@@ -79,7 +79,11 @@
 # Copy over the ttys script, which starts the autodetect process
 cp /mnt/PCBSD/xorg-gui/conf/ttys.xsetup /mnt/etc/ttys
 
+# Setup all Network Cards to be DHCP Now
+/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh
 
+
+
 #echo "Unmounting Disk...";
 # Get the disks to unmount
 UMNTDEVS="`cat /mnt/etc/fstab | grep ufs | cut -d ' ' -f 1`"



More information about the Commits mailing list