summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/initscripts/initscripts.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:01:22 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-04 23:01:22 (GMT)
commit4e350c428b99f783930fc9aa53761bc2df173b2c (patch)
treec192d2257bbaf27c70cab4913414d12abd4ca111 /abs/core-testing/initscripts/initscripts.install
parent2e70bd6665c0348df10050a0d2c88f98bad6741c (diff)
downloadlinhes_pkgbuild-4e350c428b99f783930fc9aa53761bc2df173b2c.zip
linhes_pkgbuild-4e350c428b99f783930fc9aa53761bc2df173b2c.tar.gz
linhes_pkgbuild-4e350c428b99f783930fc9aa53761bc2df173b2c.tar.bz2
initscripts:Bumped/Updated for LinHES 7.
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
}