base-files: fix backwards compatiblity of rc.common EXTRA_COMMANDS
authorMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 16 Nov 2020 16:30:43 +0000 (17:30 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 17 Nov 2020 16:57:42 +0000 (17:57 +0100)
commit3f1109bf2af2cf4977689a33ea481afaaac8dc98
treee6fe442f66d52b39890d7501f9b9d3145481494a
parent21dfdfd78b31a4a330514a5c0126e267be1c7fc3
base-files: fix backwards compatiblity of rc.common EXTRA_COMMANDS

Avoid needlessly breaking old initscripts that set EXTRA_COMMANDS. This
will aid in debugging (as it simplifies reverting to an older version of
a package) and unbreaks third-party feeds (and packages that maintain
their OpenWrt initscripts as part of the software's repo instead of the
OpenWrt feed like fastd).

Without this, initscripts that set EXTRA_COMMANDS become completely
unusable, as all default commands like start/stop cease working.

Fixes: 1a69f50dc627 ("base-files: fix rc.common help alignment")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/Makefile
package/base-files/files/etc/rc.common