summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-07-02 21:16:54 +0200
committerKim Hagen <kim.sidney@gmail.com>2018-07-02 21:16:54 +0200
commit01dbed6d792750550cbd961ba8b2794e4b98e294 (patch)
treeb90d4cbf83dc70112495a73762048492a1af9978
parent05d5548bdebbe173fa44a29597f7baab631616f7 (diff)
downloadvyos-salt-minion-01dbed6d792750550cbd961ba8b2794e4b98e294.tar.gz
vyos-salt-minion-01dbed6d792750550cbd961ba8b2794e4b98e294.zip
update post install script
-rw-r--r--debian/vyos-salt-minion.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/vyos-salt-minion.postinst b/debian/vyos-salt-minion.postinst
index 42e232c..a427c3c 100644
--- a/debian/vyos-salt-minion.postinst
+++ b/debian/vyos-salt-minion.postinst
@@ -1,8 +1,8 @@
#!/bin/sh -e
-if deb-systemd-helper --quiet was-enabled salt-minion.service; then
+if ! deb-systemd-helper --quiet was-enabled salt-minion.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
- deb-systemd-helper enable salt-minion.service >/dev/null || true
+ deb-systemd-helper disable salt-minion.service >/dev/null || true
fi
if [ -x "/etc/init.d/salt-minion" ]; then