slitaz-tools diff tinyutils/tazkeymap @ rev 805
tinyutils/tazx: config new user X-login with slim or use startx
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Apr 27 17:30:33 2013 +0000 (2013-04-27) |
parents | f73c8f4bb66c |
children | e232f0e1413a |
line diff
1.1 --- a/tinyutils/tazkeymap Mon Apr 30 14:04:35 2012 +0200 1.2 +++ b/tinyutils/tazkeymap Sat Apr 27 17:30:33 2013 +0000 1.3 @@ -7,9 +7,7 @@ 1.4 # 1.5 # Author: Christophe Lincoln <pankso@slitaz.org> 1.6 # 1.7 -: ${DIALOG=dialog} 1.8 . /lib/libtaz.sh 1.9 -check_root 1.10 1.11 # Internationalization 1.12 . /usr/bin/gettext.sh 1.13 @@ -52,6 +50,8 @@ 1.14 list_keymaps | sort ;; 1.15 "") 1.16 # Default to text mode dialog. 1.17 + : ${DIALOG=dialog} 1.18 + check_root 1.19 exec 3>&1 1.20 value=$($DIALOG --clear \ 1.21 --title " $(gettext "SliTaz keymap configuration") " \ 1.22 @@ -76,6 +76,7 @@ 1.23 *) 1.24 # Used to configure keymap from cmdline or scripts 1.25 kmap=$1 1.26 + check_root 1.27 system_config 1.28 load_keymap ;; 1.29 esac