extra_command.patch 387 B

12345678910
  1. --- a/package/base-files/files/etc/rc.common
  2. +++ b/package/base-files/files/etc/rc.common
  3. @@ -175,6 +175,6 @@ extra_command "enabled" "Check if service is started on boot"
  4. }
  5. }
  6. -ALL_COMMANDS="${EXTRA_COMMANDS}"
  7. +ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
  8. list_contains ALL_COMMANDS "$action" || action=help
  9. $action "$@"