mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
integrate-distro.sh: Renam services.disabled -> services.disable
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
14f5066144
commit
33a012f56a
1 changed files with 7 additions and 5 deletions
|
|
@ -920,10 +920,10 @@ services()
|
|||
echo $services
|
||||
}
|
||||
|
||||
services_disabled()
|
||||
services_disable()
|
||||
{
|
||||
if have_cfg_file_section "services.disabled"; then
|
||||
cfg_file_section "services.disabled"
|
||||
if have_cfg_file_section "services.disable"; then
|
||||
cfg_file_section "services.disable"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
|
@ -1261,10 +1261,12 @@ insserv_all()
|
|||
*)
|
||||
local s
|
||||
for s in $services; do
|
||||
run_chroot systemctl enable $s.service
|
||||
log enabling service $s
|
||||
run_chroot systemctl enable $s
|
||||
done
|
||||
for s in $services_disable; do
|
||||
run_chroot systemctl disable $s.service
|
||||
log disabling service $s
|
||||
run_chroot systemctl disable $s
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue