aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhicn-light/config/post4
1 files changed, 3 insertions, 1 deletions
diff --git a/hicn-light/config/post b/hicn-light/config/post
index dced2a093..91f596050 100755
--- a/hicn-light/config/post
+++ b/hicn-light/config/post
@@ -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