summaryrefslogtreecommitdiffstats
path: root/abs/core/initscripts/initscripts.install
blob: 360101c10f68d85cf9d0999438d6751858fd73ff (plain)
1
2
3
4
5
6
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
}