Package kernel-modules-lkrg-std-def: Скрипты

Post install

1
2
3
4
5
6
7
8
9
if [ $1 -eq 1 ]; then
	echo "All the LKRG settings should be only in /etc/sysctl.d/lkrg.conf to prevent its lost during service reload"
	/sbin/chkconfig --add lkrg-5.10.52-std-def-alt1 ||:
else
	/sbin/service lkrg-5.10.52-std-def-alt1 condrestart
fi

# {{{
# hacks to keep LKRG running to prevent it stopping during remove-old-kernel
Pre uninstall

1
2
3
4
if [ $1 -eq 0 ]; then
	/sbin/service lkrg-5.10.52-std-def-alt1 condstop
	/sbin/chkconfig --del lkrg-5.10.52-std-def-alt1 ||:
fi