diff options
Diffstat (limited to 'abs/core/initscripts/initscripts.install')
-rw-r--r-- | abs/core/initscripts/initscripts.install | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/abs/core/initscripts/initscripts.install b/abs/core/initscripts/initscripts.install index a64b543..03519cb 100644 --- a/abs/core/initscripts/initscripts.install +++ b/abs/core/initscripts/initscripts.install @@ -1,14 +1,26 @@ post_upgrade() { - if [ "$(vercmp $2 2009.07)" -lt 0 ]; then - echo "==> Adjusting /etc/inittab for transition to /dev/tty standard." - echo "==> Original file saved as /etc/inittab.pacsave" - sed -i'.pacsave' 's#vc/\([0-9]\)#tty\1#' /etc/inittab - fi 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 - echo "adjusting utf8 to utf-8" - echo "Please reboot for the locale adjustment to take affect" - sed -ie "s/[u|U][t|T][[f|F]8/utf-8/g" /etc/rc.conf + 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 } |