forked from mirrored-repos/manjaro-tools
[util-iso-image] extend function to allow also timer
This commit is contained in:
parent
3806b31b04
commit
36134e5b91
1 changed files with 5 additions and 0 deletions
|
@ -33,6 +33,11 @@ add_svc_sd(){
|
|||
msg2 "Setting %s ..." "$2"
|
||||
chroot $1 systemctl enable $2 &>/dev/null
|
||||
fi
|
||||
if [[ -f $1/etc/systemd/system/$2 ]] || \
|
||||
[[ -f $1/usr/lib/systemd/system/$2 ]]; then
|
||||
msg2 "Setting %s ..." "$2"
|
||||
chroot $1 systemctl enable $2 &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
set_xdm(){
|
||||
|
|
Loading…
Reference in a new issue