diff options
-rw-r--r-- | roles/_workstation/sysconf/tasks/_openbsd.yml | 1 | ||||
-rwxr-xr-x | roles/_workstation/sysconf/templates/etc-apm-resume | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/roles/_workstation/sysconf/tasks/_openbsd.yml b/roles/_workstation/sysconf/tasks/_openbsd.yml index 504e751..74d1b83 100644 --- a/roles/_workstation/sysconf/tasks/_openbsd.yml +++ b/roles/_workstation/sysconf/tasks/_openbsd.yml @@ -39,6 +39,7 @@ - etc-X11-xorg.conf.d-intel.conf - etc-apm-hibernate - etc-apm-suspend + - etc-apm-resume - name: ensure sysctl configuration file exists file: diff --git a/roles/_workstation/sysconf/templates/etc-apm-resume b/roles/_workstation/sysconf/templates/etc-apm-resume new file mode 100755 index 0000000..e2bd5e0 --- /dev/null +++ b/roles/_workstation/sysconf/templates/etc-apm-resume @@ -0,0 +1,7 @@ +#!/bin/sh + +sleep 3 +wg-quick down dc0 +ifconfig destroy wg0 +sh /etc/netstart iwn0 +wg-quick up dc0 |