Dear list -- apologies in advance, I am not familiar with unix scripts. Using using openvpn 1.6 on a Bering 1.2 firewall (non-uclibc) I have tried several different script lines to add the route. These are: #!/bin/sh -e ip route add 10.1.1.0 255.255.255.0 nexthop $5
#!/bin/sh -e ip route add $1 #!/bin/sh -e ip route add $1 $2 $3 $4 $5 $6 In each case I get the message in daemon.log Dec 4 19:11:58 firewall openvpn[3939]: /etc/openvpn/openvpn.up tun0 1256 1300 10.1.1.1 10.1.1.2 init Dec 4 19:11:58 firewall openvpn[3939]: script failed: shell command exited with error status: 2 Dec 4 19:11:58 firewall openvpn[3939]: Exiting Can anybody tell me how to get the script to succeed? TIA Rick. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
