diff options
Diffstat (limited to 'libre/initscripts/initscripts.install')
-rw-r--r-- | libre/initscripts/initscripts.install | 7 |
1 files changed, 7 insertions, 0 deletions
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 +} |