network: fix dhcp classless_static_routes
removed copy&paste artifact "modify_routes add" there is no modify_routes() function, and we simply want the output of the parse function.
parent
c87d489ca6
commit
33710dfbfc
|
|
@ -175,7 +175,7 @@ case $reason in
|
|||
echo '. /lib/net-lib.sh'
|
||||
echo "setup_net $netif"
|
||||
if [ -n "$new_classless_static_routes" ]; then
|
||||
modify_routes add "$(parse_option_121 $new_classless_static_routes)"
|
||||
parse_option_121 $new_classless_static_routes
|
||||
fi
|
||||
echo "source_hook initqueue/online $netif"
|
||||
[ -e /tmp/net.$netif.manualup ] || echo "/sbin/netroot $netif"
|
||||
|
|
|
|||
Loading…
Reference in New Issue