Skip to content

Commit b7853a6

Browse files
author
Daniel Hansson
authored
detect keyboard and timezone
1 parent 5bb8bcc commit b7853a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wordpress-startup-script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ fi
338338
clear
339339

340340
# Set keyboard layout
341-
echo "Current keyboard layout is Swedish"
341+
echo "Current keyboard layout is $(localectl status | grep "Layout" | awk '{print $3}')"
342342
echo "You must change keyboard layout to your language"
343343
echo -e "\e[32m"
344344
read -p "Press any key to change keyboard layout... " -n1 -s
@@ -348,7 +348,7 @@ echo
348348
clear
349349

350350
# Change Timezone
351-
echo "Current Timezone is Swedish"
351+
echo "Current timezone is $(cat /etc/timezone)"
352352
echo "You must change timezone to your timezone"
353353
echo -e "\e[32m"
354354
read -p "Press any key to change timezone... " -n1 -s

0 commit comments

Comments
 (0)