summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/initscripts/initscripts.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/initscripts/initscripts.install')
-rw-r--r--abs/core-testing/initscripts/initscripts.install28
1 files changed, 5 insertions, 23 deletions
diff --git a/abs/core-testing/initscripts/initscripts.install b/abs/core-testing/initscripts/initscripts.install
index 9fffa9b..360101c 100644
--- a/abs/core-testing/initscripts/initscripts.install
+++ b/abs/core-testing/initscripts/initscripts.install
@@ -1,25 +1,7 @@
post_upgrade() {
- cat << "EOF"
------------------------------------------------------------
-IMPORTANT NOTICE FOR ENCRYPTION USERS
-
-The "password" column in /etc/crypttab has now
-two special keywords:
-- ASK ask for a passphrase on boot
-- SWAP use a random key and create swapspace
- This is particularly dangerous, as the
- volume in question will be overwritten
- If you use SWAP as your passphrase (which
- is insecure anyway), be sure to remove it
- from /etc/crypttab to avoid dataloss!
-
-See /etc/crypttab(.pacnew) for more information.
------------------------------------------------------------
-Attention netcfg users: netcfg is no longer included as
-part of the initscripts package.
-Be aware that rc.conf's NET_PROFILES has changed to
-NETWORKS, and that netcfg must be installed separately.
-For more info, see the netcfg man page.
------------------------------------------------------------
-EOF
+ 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
}