mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2024-11-23 00:26:03 +01:00
34 lines
376 B
Plaintext
34 lines
376 B
Plaintext
|
#!/bin/sh
|
||
|
#
|
||
|
# Changes keyboard layout to AZERTY
|
||
|
#
|
||
|
|
||
|
start() {
|
||
|
printf "Starting AZERTY keyboard: "
|
||
|
loadkmap < /usr/share/keyboard/fr-latin9.bmap
|
||
|
echo "OK"
|
||
|
}
|
||
|
|
||
|
stop() {
|
||
|
printf "Stopping AZERTY keyboard: "
|
||
|
echo "OK"
|
||
|
}
|
||
|
|
||
|
case "$1" in
|
||
|
start)
|
||
|
start
|
||
|
;;
|
||
|
stop)
|
||
|
stop
|
||
|
;;
|
||
|
restart|reload)
|
||
|
stop
|
||
|
start
|
||
|
;;
|
||
|
*)
|
||
|
echo "Usage: $0 {start|stop|restart}"
|
||
|
exit 1
|
||
|
esac
|
||
|
|
||
|
exit $?
|