From 6029b901d5db6824851b15194b02327edcc85419 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 26 Oct 2015 00:08:15 -0400 Subject: initial commit --- netctl-hook | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 netctl-hook (limited to 'netctl-hook') diff --git a/netctl-hook b/netctl-hook new file mode 100755 index 0000000..5190f02 --- /dev/null +++ b/netctl-hook @@ -0,0 +1,3 @@ +#!/hint/sh +printf -v ExecUpPost "systemctl start network-online@%q.service" "$(systemd-escape -- "$Profile")" +printf -v ExecDownPre "systemctl stop network-online@%q.service" "$(systemd-escape -- "$Profile")" -- cgit v1.2.3