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