mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
13 lines
327 B
Bash
13 lines
327 B
Bash
# Installs are followed by reboot, so enable units without starting/reloading
|
|
# running services during the install.
|
|
chrootable_systemctl_enable() {
|
|
sudo systemctl enable $1
|
|
}
|
|
|
|
chrootable_systemctl_enable_only() {
|
|
sudo systemctl enable $1
|
|
}
|
|
|
|
export -f chrootable_systemctl_enable
|
|
export -f chrootable_systemctl_enable_only
|