Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should output "!/bin/bash" in chnroutes_ovpn_linux #15

Closed
GoogleCodeExporter opened this issue Dec 9, 2015 · 1 comment
Closed

should output "!/bin/bash" in chnroutes_ovpn_linux #15

GoogleCodeExporter opened this issue Dec 9, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

After download the chntoutes_ovpn_linux, and follow steps as below:
1. python chnroutes_ovpn_linux (OK)
2. chmod a+x vpnup vpndown (OK)
3. vpnup (ERROR)

the vpnup will show:
"[: 8: 192.168.1.1: unexpected operator"

On Ubuntu 10.4.

Because the Ubuntu has changed the default shell to dash (a ash like shell), 
for performance. But the `vpnup' was write in bash.

To solve this issue, I changed the first line of the `vpnup' script created by 
`chnroutes_ovpn_linux' to `#!/bin/bash', the message disappear.

Original issue reported on code.google.com by Kim....@gmail.com on 16 Jul 2010 at 1:31

@GoogleCodeExporter
Copy link
Author

thank you. it's fixed now.
if you are using openvpn, you could choose the openvpn 2.1 solution.

Original comment by Numb.Maj...@gmail.com on 16 Jul 2010 at 4:43

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant