We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce29f76 commit 0146731Copy full SHA for 0146731
debian/router/DEBIAN/postinst
@@ -1,5 +1,8 @@
1
#!/bin/sh
2
3
-systemctl daemon-reload
4
systemctl enable arduino-router
5
-systemctl start arduino-router
+
+if [ -d /run/systemd/system ]; then
6
+ systemctl daemon-reload
7
+ systemctl start arduino-router
8
+fi
debian/router/DEBIAN/postrm
@@ -1,3 +1,5 @@
debian/router/DEBIAN/prerm
@@ -1,4 +1,7 @@
systemctl disable arduino-router
-systemctl stop arduino-router
+ systemctl stop arduino-router
0 commit comments