summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-03-19 11:29:46 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-03-19 11:29:46 +0000
commita2231c18ef829f1cb011eefdd857b2ebb66af29e (patch)
tree0b7fa1f9801e140415a29889204daf78e4fad79f
parent266ae56ee4e1fa97a2a470047118336f4f557219 (diff)
uniform naming of functions
-rwxr-xr-xkogaionlive.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/kogaionlive.sh b/kogaionlive.sh
index 5b6fb70..7e0c773 100755
--- a/kogaionlive.sh
+++ b/kogaionlive.sh
@@ -25,7 +25,7 @@ kogaion_live_user_password () {
/usr/bin/passwd --delete "$liveuser" > /dev/null 2>&1
}
-kogaion_locale_switch () {
+kogaion_live_locale_switch () {
export local keymap_toset="$(cat /proc/cmdline | cut -d " " -f12 | cut -d "=" -f2)"
export local lang_toset="$(cat /proc/cmdline | cut -d " " -f13 | cut -d "=" -f2)"
if [[ "$lang_toset" != "en_US.utf8" ]] || [[ "$keymap_toset" != "us" ]] ; then
@@ -38,10 +38,10 @@ kogaion_locale_switch () {
main () {
if checkroot ; then
- kogaion_locale_switch
kogaion_add_live_user
kogaion_live_user_groups
kogaion_live_user_password
+ kogaion_live_locale_switch
fi
}