aboutsummaryrefslogtreecommitdiff
path: root/arch/initscripts.install
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2012-11-25 20:36:59 (GMT)
committerAdrian C. (anrxc) <anrxc@sysphere.org>2012-11-25 20:36:59 (GMT)
commit60f6a250016004320c2ccfccbe6ef7f500ed2d2d (patch)
tree97c3325fcf53dfebb19b87dde5825cbea4e161b1 /arch/initscripts.install
parent85f147c163d3844901c6cd659f0066e7741811a5 (diff)
downloadinitscripts-60f6a250016004320c2ccfccbe6ef7f500ed2d2d.tar.xz
aic: import packaging rules and the license
Diffstat (limited to 'arch/initscripts.install')
-rw-r--r--arch/initscripts.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/initscripts.install b/arch/initscripts.install
new file mode 100644
index 0000000..03519cb
--- /dev/null
+++ b/arch/initscripts.install
@@ -0,0 +1,26 @@
+post_upgrade() {
+ 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
+ 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
+ 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"
+ 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
+}