mirror of https://github.com/armbian/build.git
8 lines
236 B
Bash
8 lines
236 B
Bash
|
|
function disable_systemd_service_sdcard() {
|
||
|
|
display_alert "Disabling systemd service(s) on target" "${*}" "debug"
|
||
|
|
declare service
|
||
|
|
for service in "${@}"; do
|
||
|
|
chroot_sdcard systemctl --no-reload disable "${service}" "||" true
|
||
|
|
done
|
||
|
|
}
|