Skip to content
Browse files

FL-89: modprobe fixes - and additions, for ipv6

  • Loading branch information...
1 parent 4663ec3 commit 1f94c739167da7f08bd26fafc2538381a1456e91 @danielrobbins danielrobbins committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 init.d/netif.tmpl
View
6 init.d/netif.tmpl
@@ -81,9 +81,13 @@ start() {
if [ "$macaddr" != "" ]; then
/sbin/nameif ${interface} ${macaddr} || die "Couldn't rename interface"
fi
+ if [ ! -d /proc/sys/net/ipv6 ]; then
+ # attempt to silently load ipv6 module
+ modprobe -q ipv6
+ fi
if [ "$vlanmode" != "off" ]; then
if [ ! -d /proc/net/vlan ]; then
- modprobe 8021q
+ modprobe -q 8021q
if [ ! -d /proc/net/vlan ]; then
eerror "VLAN for interface $interface could not be configured:"
die " \n802.1q support is not present in this kernel."

0 comments on commit 1f94c73

Please sign in to comment.
Something went wrong with that request. Please try again.