diff options
Diffstat (limited to 'hicn-light/config/postinst')
-rwxr-xr-x | hicn-light/config/postinst | 4 |
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 |