blob: 0bd3e678467a321210a9a83f9a7a3c81fb0b7f04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install() {
systemctl enable --now lenovo-fancurve.service
systemctl enable --now lenovo-fancurve.patch
echo "Service was enable"
echo "If fail reboot the system because LenovoLegionLinux module was not install"
}
post_upgrade() {
post_install $1
}
pre_remove() {
depmod -a $(uname -r)
systemctl disable --now lenovo-fancurve.path
systemctl disable --now lenovo-fancurve.service
echo Uninstall finished.
echo Reboot the system.
}
|