eval $(/usr/local/bin/readhash /var/ipfire/ethernet/settings)
init_networking() {
-
boot_mesg "Loading firewall modules into the kernel"
modprobe iptable_nat || failed=1
for i in $(find /lib/modules/$(uname -r) -name ip_conntrack*); do
- modprobe $i || failed=1
+ modprobe $(basename $i | cut -d. -f1) || failed=1
done
for i in $(find /lib/modules/$(uname -r) -name ip_nat*); do
- modprobe $i || failed=1
+ modprobe $(basename $i | cut -d. -f1) || failed=1
done
(exit ${failed})
evaluate_retval