From a2231c18ef829f1cb011eefdd857b2ebb66af29e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 19 Mar 2016 11:29:46 +0000 Subject: uniform naming of functions --- kogaionlive.sh | 4 ++-- 1 file 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 } -- cgit v1.2.3