### fix NFS start bug in systemd
systemctl add-wants nfs-mountd.service rpcbind.service
+if [ -e "/etc/netconfig" ] #Disable IPV6/ipv6
+then
+ sed -i 's/^tcp6/#tcp6/g' /etc/netconfig
+ sed -i 's/^udp6/#udp6/g' /etc/netconfig
+fi
### Fix ejabberd/apparmor bug - commented out because it's not working
#FixAppArmorEJabberD
### Enable systemd autogen service for first boot
systemctl enable autogen
+systemctl enable apache2
echo
echo
then
systemctl add-wants nfs-mountd.service rpcbind.service
fi
+if [ -e "/etc/netconfig" ] #Disable IPV6/ipv6
+then
+ sed -i 's/^tcp6/#tcp6/g' /etc/netconfig
+ sed -i 's/^udp6/#udp6/g' /etc/netconfig
+fi
### Fix ejabberd/apparmor bug - commented out because it didn't work
#FixAppArmorEJabberD