mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 18:08:00 +02:00
oops: add openrc install detection
This commit is contained in:
2
Makefile
2
Makefile
@@ -50,6 +50,8 @@ install-service:
|
||||
make install-service-dinit; \
|
||||
elif command -v sv &> /dev/null; then \
|
||||
make install-service-runit; \
|
||||
elif command -v rc-update &> /dev/null; then \
|
||||
make install-service-openrc; \
|
||||
else \
|
||||
printf '\x1b[1;31m%s\x1b[0m\n' "Unknown init system, skipping service install..."; \
|
||||
fi
|
||||
|
Reference in New Issue
Block a user