From a1d819072ac565eafd5bfa57dec05d5c3212d5a8 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Mon, 21 Feb 2011 13:15:07 -0300 Subject: initscripts-2010.07-3 --- libre/initscripts/initscripts.install | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 libre/initscripts/initscripts.install (limited to 'libre/initscripts/initscripts.install') diff --git a/libre/initscripts/initscripts.install b/libre/initscripts/initscripts.install new file mode 100644 index 000000000..360101c10 --- /dev/null +++ b/libre/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 +} -- cgit v1.2.3