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

What is "foo.conf?" #6

Open
neurodiverseEsoteric opened this issue Jun 9, 2018 · 1 comment
Open

What is "foo.conf?" #6

neurodiverseEsoteric opened this issue Jun 9, 2018 · 1 comment

Comments

@neurodiverseEsoteric
Copy link

It appears that the script wants me to create the file foo.conf before anything else, otherwise this error happens:

sed: can't read /etc/openvpn/client/foo.conf: No such file or directory
/bin/openvpn-unroot: line 168: `sed -nr "s/^\s*${key}\s+(\S+)\s*.*/\1/p" "${opt[old_config_file]}"' returned 2
/bin/openvpn-unroot: line 150: `first_line() {' returned 1
/bin/openvpn-unroot: line 204: `} | first_line' returned 1
/bin/openvpn-unroot: line 473: `dev_type="$(get_dev_type)"' returned 1

...And making a empty foo.conf file didn't help:


/sbin/openvpn-unroot: line 150: `first_line() {' returned 1
/sbin/openvpn-unroot: line 204: `} | first_line' returned 1
/sbin/openvpn-unroot: line 473: `dev_type="$(get_dev_type)"' returned 1
@muellerjoel
Copy link

I have the same error on Arch Linux too...

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

No branches or pull requests

2 participants