summarylogtreecommitdiffstats
path: root/mullvad-vpn.install
diff options
context:
space:
mode:
authorMark Wagie2023-02-20 10:21:08 -0700
committerMark Wagie2023-02-20 10:21:08 -0700
commit4672970db233d3120dc7206db6f87d397c6652dd (patch)
tree0f6c781fd5c53b5a81b52afa2caa1bc1f2f2f173 /mullvad-vpn.install
parentd0a2213e64c690e408d5b79769c4f79372678b76 (diff)
downloadaur-4672970db233d3120dc7206db6f87d397c6652dd.tar.gz
2023.1
Diffstat (limited to 'mullvad-vpn.install')
-rw-r--r--mullvad-vpn.install9
1 files changed, 3 insertions, 6 deletions
diff --git a/mullvad-vpn.install b/mullvad-vpn.install
index 0b29ddc28ea2..e276ecebd933 100644
--- a/mullvad-vpn.install
+++ b/mullvad-vpn.install
@@ -18,8 +18,9 @@ pre_install() {
post_install() {
chmod u+s "/usr/bin/mullvad-exclude"
- echo 'Enabling Mullvad VPN daemon...'
+ echo 'Starting & enabling Mullvad VPN daemon...'
systemctl enable --now mullvad-daemon
+ echo 'Enabling Mullvad early boot blocking service...'
systemctl enable mullvad-early-boot-blocking
}
@@ -28,13 +29,9 @@ pre_upgrade() {
}
post_upgrade() {
- echo 'Starting & enabling Mullvad VPN daemon...'
systemctl daemon-reload
- systemctl enable --now mullvad-daemon
- echo 'Enabling Mullvad early boot blocking service...'
- systemctl enable mullvad-early-boot-blocking
- chmod u+s "/usr/bin/mullvad-exclude"
+ post_install
}
pre_remove() {