hi,
first remount the root partition from readonly to write
mount –o remount,rw /dev/root /
modify the script /scripts/networkd.sh
add the static routes (see below)
start)
echo "starting network service"
set_Interface_IP
set_default_GW
route add -net 10.x.x.x/x gw <gw-ip>
echo "network service start - done"
;;
Save the file and reboot.
hi,
first remount the root partition from readonly to write
mount –o remount,rw /dev/root /
modify the script /scripts/networkd.sh
add the static routes (see below)
start)
echo "starting network service"
set_Interface_IP
set_default_GW
route add -net 10.x.x.x/x gw <gw-ip>
echo "network service start - done"
;;
Save the file and reboot.