Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions debian/arduino-router/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -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
4 changes: 0 additions & 4 deletions debian/arduino-router/DEBIAN/prerm
Original file line number Diff line number Diff line change
Expand Up @@ -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