summaryrefslogtreecommitdiff
path: root/recipes/maemo/nokia770-init/fixup-770.sh
blob: b65fb131e3f6988d23bd15c2d06d4afd169a67dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh
case "$1" in
  start)
        echo -n "Unmounting virtual fs from initrd"
        umount /mnt/initfs/sys
        umount /mnt/initfs/proc
        ln -s /dev/vc/0 /dev/tty0
        ln -s /dev/vc/1 /dev/tty1
        ln -s /dev/vc/2 /dev/tty2
        ln -s /dev/vc/3 /dev/tty3
        ln -s /dev/vc/4 /dev/tty4
        ln -s /dev/vc/5 /dev/tty5
        ln -s /dev/vc/6 /dev/tty6
        ln -s /dev/vc/7 /dev/tty7
        ;;
  stop)
        ;;
  *)
        echo "Usage: $SCRIPTNAME {start|stop}" >&2
        exit 1
        ;;
esac

exit 0