diff --git a/debian/arduino-router/DEBIAN/postinst b/debian/arduino-router/DEBIAN/postinst index e04dfef..cba8391 100755 --- a/debian/arduino-router/DEBIAN/postinst +++ b/debian/arduino-router/DEBIAN/postinst @@ -1,13 +1,5 @@ #!/bin/sh -if [ -d /run/systemd/system ]; then - systemctl daemon-reload -fi - systemctl enable arduino-router systemctl enable arduino-router-serial -if [ -d /run/systemd/system ]; then - systemctl start arduino-router - systemctl start arduino-router-serial -fi diff --git a/debian/arduino-router/DEBIAN/prerm b/debian/arduino-router/DEBIAN/prerm index ae00407..193d5be 100755 --- a/debian/arduino-router/DEBIAN/prerm +++ b/debian/arduino-router/DEBIAN/prerm @@ -3,7 +3,3 @@ systemctl disable arduino-router systemctl disable arduino-router-serial -if [ -d /run/systemd/system ]; then - systemctl stop arduino-router - systemctl stop arduino-router-serial -fi