summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--softu2f.install6
1 files changed, 4 insertions, 2 deletions
diff --git a/softu2f.install b/softu2f.install
index 6a5df59f2d01..a93de2d04a64 100644
--- a/softu2f.install
+++ b/softu2f.install
@@ -3,9 +3,11 @@ post_upgrade() {
}
post_install() {
- systemctl preset softu2f.socket
+ systemctl --preset-mode=enable-only preset softu2f.socket
if systemctl --quiet is-enabled softu2f.socket; then
systemctl start softu2f.socket
+ else
+ echo " * You need to activate 'softu2f.socket' via 'systemctl'."
fi
- echo " * You also need to start 'softu2f.service' via 'systemctl --user'."
+ echo " * You also need to activate 'softu2f.service' via 'systemctl --user'."
}