Initial Commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-10 17:31:58 +01:00
commit c1df951665
12 changed files with 626 additions and 0 deletions

24
initctl_faker Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh
ALIAS_CMD="$(echo ""$0"" | sed -e 's?/sbin/??')"
case "${ALIAS_CMD}" in
start|stop|restart|reload|status)
exec service $1 ${ALIAS_CMD}
;;
esac
case "$1" in
list )
exec service --status-all
;;
reload-configuration )
exec service $2 restart
;;
start|stop|restart|reload|status)
exec service $2 $1
;;
\?)
exit 0
;;
esac