aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/config/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/config/prerm')
-rwxr-xr-xhicn-light/config/prerm4
1 files changed, 3 insertions, 1 deletions
diff --git a/hicn-light/config/prerm b/hicn-light/config/prerm
index 4584c7057..c1d3d55a1 100755
--- a/hicn-light/config/prerm
+++ b/hicn-light/config/prerm
@@ -1,3 +1,5 @@
#!/bin/bash
-systemctl disable hicn-light \ No newline at end of file
+if pidof systemd; then
+ systemctl disable hicn-light
+fi \ No newline at end of file