diff options
author | pokrasko | 2020-10-20 08:48:41 +0300 |
---|---|---|
committer | pokrasko | 2020-10-20 09:00:52 +0300 |
commit | 2297fc158694763225ae08f47b09ae81542adea1 (patch) | |
tree | 49b4db4a12f11e11d80514b868463b57d6847930 /nordvpn.install | |
download | aur-nordvpn-s6.tar.gz |
Initial commit
Diffstat (limited to 'nordvpn.install')
-rw-r--r-- | nordvpn.install | 13 |
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 +} |