summaryrefslogtreecommitdiffstats
path: root/sys-apps/kbd/files/consolechars
blob: 810829f63a3acb41d26c598e70cfe48f2e0c3fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/bash

setfont=0
setmap=0

for name in $@; do
    if [ $setfont -eq 1 ]; then
	setfont $name
	setfont=0
    fi

    if [ $setmap -eq 1 ]; then
	mapscrn $name
	setmap=0
    fi

    if [ $name = "-f" ]; then
	setfont=1
    elif [ $name = "-m" ]; then
	setmap=1
    fi
done