summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/initscripts/initscripts.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-08-29 16:29:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-08-29 16:29:01 (GMT)
commit25c30209666f591371476d272712e92e7173ce7c (patch)
tree6ea95b7567b6a094af18832bc36953b3f28dd12f /abs/mv-core/initscripts/initscripts.install
parent3eeb924c21ef82a144d1fa48c3dd2d571ea4f9bc (diff)
downloadlinhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.zip
linhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.tar.gz
linhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.tar.bz2
mv-core: add fbsplash-runit
Diffstat (limited to 'abs/mv-core/initscripts/initscripts.install')
-rw-r--r--abs/mv-core/initscripts/initscripts.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/mv-core/initscripts/initscripts.install b/abs/mv-core/initscripts/initscripts.install
new file mode 100644
index 0000000..360101c
--- /dev/null
+++ b/abs/mv-core/initscripts/initscripts.install
@@ -0,0 +1,7 @@
+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
+}