Permalink
Browse files

When we enable networking on installer, add entries to rc.conf

This will make sure the GUI shows the device as enabled
  • Loading branch information...
1 parent 2f08d68 commit 29efa9ae55855876d89cc7a85d09db00ef7c3f85 @kmoore134 kmoore134 committed Aug 30, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 overlays/install-overlay/root/PCBSDStart.sh
@@ -45,6 +45,8 @@ do
ifconfig ${i} | grep -q "status: active"
if [ $? -eq 0 ] ; then
echo "Enabling networking on ${i}..."
+ echo "ifconfig_${i}_ipv6=\"inet6 accept_rtadv\"" >> /etc/rc.conf
+ echo "ifconfig_${i}=\"DHCP\"" >> /etc/rc.conf
(dhclient ${i} >/dev/null 2>/dev/null ) &
fi
done

0 comments on commit 29efa9a

Please sign in to comment.