cc7316d1e9
There are services that have only STOP value set. They are executed only on shutdown and it is common to use them for system cleanup. There is one such service shipped directly with base-files, it is 'umount'. Those work the same way as those with START but enabled does not report them as enabled although it should have as they can be enabled and disabled as any other service. This also changes check from check for executable to check for symbolic link. The implementation depends on those being links to service file and it is much cleaner and direct to check for them being links. Signed-off-by: Karel Kočí <karel.koci@nic.cz> |
||
---|---|---|
.. | ||
board.d | ||
hotplug.d/net | ||
init.d | ||
iproute2 | ||
rc.button | ||
sysctl.d | ||
uci-defaults | ||
banner | ||
banner.failsafe | ||
device_info | ||
diag.sh | ||
ethers | ||
fstab | ||
group | ||
hosts | ||
inittab | ||
openwrt_release | ||
openwrt_version | ||
os-release | ||
passwd | ||
preinit | ||
profile | ||
protocols | ||
rc.common | ||
rc.local | ||
services | ||
shadow | ||
shells | ||
shinit | ||
sysctl.conf | ||
sysupgrade.conf |