PKGBUILDs/extra/initscripts/initscripts.install

27 lines
1 KiB
Plaintext
Raw Normal View History

post_upgrade() {
2011-06-18 04:44:09 +00:00
if [ "$(vercmp $2 2011.06.1)" -lt 0 ]; then
echo "Blacklisting of modules is no longer supported in rc.conf,"
echo "please add blacklist entries to /etc/modprobe.d/ instead."
fi
if [ "$(vercmp $2 2011.07.2)" -lt 0 ]; then
echo "VERBOSE= in rc.conf no longer has any effect."
echo "Please append 'quiet' to your kernel command line."
fi
2012-01-21 22:21:45 +00:00
if [ "$(vercmp $2 2011.10.1)" -lt 0 ]; then
echo "If using non-bash-compatible shell, please set LANG in /etc/locale.conf,"
echo "as LOCALE in /etc/rc.conf no longer works."
fi
2012-09-14 15:21:51 +00:00
if [ "$(vercmp $2 2012.08.1)" -lt 0 ]; then
echo "----"
echo "> initscripts now ships a compatibility layer to make systemd use DAEMONS"
echo "> from rc.conf; and run rc.local and rc.local.shutdown on boot and"
2012-09-14 15:21:51 +00:00
echo "> shutdown, respectively. Refer to arch-modules-load(8) and arch-daemons(8)."
echo "----"
fi
if [ "$(vercmp $2 2012.10.1)" -lt 0 ]; then
echo "----"
echo "> systemd no longer reads MODULES from rc.conf."
echo "----"
fi
}