* Bastian Bittorf <[email protected]> [28.05.2013 07:59]: > load_modules() > { > local file line > > while [ -n "$1" ]; do > file="$1" > shift > > line="$( cat "$file" )" > test ${#line} -eq 0 && continue > > while read line; do > case "$line" in > nf_*|ip_*|ipt_*|iptable*|x_*) > # ignore iptables stuff > ;; > *) > insmod $line > ;; > esac > done
sorry, typed without testing the snipped: please change the above line to: done <"$file" here the full/updated snippet: http://intercity-vpn.de/files/openwrt/init_kmodules_loader_without_iptables.sh.txt bye, bastian _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
