diff options
Diffstat (limited to 'netctl-hook')
-rwxr-xr-x | netctl-hook | 3 |
1 files changed, 3 insertions, 0 deletions
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")" |