Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 29efa9ae55855876d89cc7a85d09db00ef7c3f85 1 parent 2f08d68
Kris Moore kmoore134 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  overlays/install-overlay/root/PCBSDStart.sh
2  overlays/install-overlay/root/PCBSDStart.sh
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.