mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:57:14 +08:00
20 lines
467 B
Plaintext
20 lines
467 B
Plaintext
post_install() {
|
|
echo "Enabling systemd service"
|
|
systemctl enable NetworkManager.service
|
|
}
|
|
|
|
post_upgrade() {
|
|
(( $(vercmp 0.8.3 $2) > 0 )) && cat <<MSG
|
|
ATTENTION:
|
|
/etc/NetworkManager/nm-system-settings.conf has been replaced
|
|
by /etc/NetworkManager/NetworkManager.conf. Make sure you move
|
|
any custom settings to the new config file.
|
|
MSG
|
|
true
|
|
}
|
|
|
|
pre_remove() {
|
|
echo "Disabling systemd service"
|
|
systemctl disable NetworkManager.service
|
|
}
|