Browse Source

Create extra_command.patch

garypang13 5 years ago
parent
commit
9138ef4d2c
1 changed files with 10 additions and 0 deletions
  1. 10 0
      devices/common/patches/extra_command.patch

+ 10 - 0
devices/common/patches/extra_command.patch

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