aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2021-06-07 19:25:06 +0200
committerPaul Spooren <mail@aparcar.org>2021-06-22 09:45:27 -1000
commitcc7316d1e924977881f03a7cb5863b695f79d81e (patch)
treed0d15ee98f1a122a636e8233abbf16d06871ec18 /target/linux
parent0b2c1997e988552a4bb52dda88eccf4896fbb61b (diff)
downloadupstream-cc7316d1e924977881f03a7cb5863b695f79d81e.tar.gz
upstream-cc7316d1e924977881f03a7cb5863b695f79d81e.tar.bz2
upstream-cc7316d1e924977881f03a7cb5863b695f79d81e.zip
base-files: fix enabled for services with only STOP
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>
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions