summarylogtreecommitdiffstats
path: root/nordvpn.install
diff options
context:
space:
mode:
Diffstat (limited to 'nordvpn.install')
-rw-r--r--nordvpn.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/nordvpn.install b/nordvpn.install
new file mode 100644
index 000000000000..89078b628f05
--- /dev/null
+++ b/nordvpn.install
@@ -0,0 +1,13 @@
+post_install() {
+ modprobe tun
+}
+
+pre_remove() {
+ if [ -e "/run/service/nordvpn-srv" ]; then
+ s6-rc -d change nordvpn
+ fi
+}
+
+post_remove() {
+ rmf -rf /etc/s6/sv/nordvpn-log
+}