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

openvpn service: source up/down scripts #25079

Closed
wants to merge 1 commit into from

Conversation

fadenb
Copy link
Contributor

@fadenb fadenb commented Apr 21, 2017

Motivation for this change

source the up/down scripts instead of executing them to avoid loosing
access to special variables like $1

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@fadenb, thanks for your PR! By analyzing the history of the files in this pull request, we identified @MarcWeber, @edolstra and @ericsagnes to be potential reviewers.

source the up/down scripts instead of executing them to avoid loosing
access to special variables like $1
@fadenb
Copy link
Contributor Author

fadenb commented Apr 24, 2017

I updated the PR. The up/down scripts are each written to a file and then sourced.

@grahamc
Copy link
Member

grahamc commented Apr 25, 2017

Applied in 50ad243, thank you!

@grahamc grahamc closed this Apr 25, 2017
@fpletz fpletz deleted the openvpn_source_scripts branch April 27, 2017 15:35
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

Successfully merging this pull request may close these issues.

None yet

3 participants