From 13c69ea5ed68e285d3601e45d362e9765ad9cad3 Mon Sep 17 00:00:00 2001 From: Dewalt <> Date: Sat, 21 Aug 2021 19:54:58 -0500 Subject: [PATCH] Update Sat Aug 21 07:54:58 PM CDT 2021 --- README.md | 8 +++++++- pimpmykali.sh | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1a79a5..3e7a7e1 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,19 @@ - N exits and makes no change to /etc/apt/sources.list - added --mirrors for command line use sudo./pimpmykali.sh --mirrors + - new menu option T - set timezone (new function) + - calls sudo dpkg-reconfigure tzdata + + - new menu option K - set keyboard, language, layout + - calls sudo dpkg-reconfigure keyboard-configuration + - menu option 6 - enable root login - password prompt now checks exit code if failure, restart password function - copy of files from /home/kali/* to /root now uses the actual username not just 'kali' - fix_sources function updated to use wildcards - - Initial Menu clean up, added bold color to "New VM Setup" Menu option N + - Menu clean up, added bold color to "New VM Setup" Menu option N - Added Sublime text editor installer - Menu Option L diff --git a/pimpmykali.sh b/pimpmykali.sh index f865a6a..b259ea1 100755 --- a/pimpmykali.sh +++ b/pimpmykali.sh @@ -1246,7 +1246,9 @@ pimpmykali_menu () { echo -e " (sources.list, linux-headers, vm-video)" # - echo -e " 0 - Fix ONLY 1 thru 8 (runs only 1 thru 8) \n" # fix_all echo -e " "$bold"N - NEW VM SETUP"$reset" - Run this option if this is the first time running pimpmykali\n" # menu item only no function - echo -e " = - Pimpmykali-Mirrors (find fastest kali mirror. its the equals symbol = )\n" # get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;; + echo -e " = - Pimpmykali-Mirrors (find fastest kali mirror. its the equals symbol = )" # get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;; + echo -e " T - Reconfigure Timezone current timezone : $(cat /etc/timezone)" # reconfig_timekey + echo -e " K - Reconfigure Keyboard current keyb/lang : $(cat /etc/default/keyboard | grep XKBLAYOUT | cut -d "\"" -f2)\n" # reconfig_keyboard echo -e " Key Stand alone functions: Description:" # optional line echo -e " --- ---------------------- ------------" echo -e " M - Mayor MPP Course Setup (adds requirments needed for Mayors MPP Course)" # mayor_mpp @@ -1290,6 +1292,8 @@ pimpmykali_menu () { m|M) mayor_mpp;; l|L) install_sublime;; "=") get_mirrorlist; best_ping; small_speedtest; large_speedtest; gen_new_sources; cleanup;; + t|T) sudo dpkg-reconfigure tzdata; echo -e "\n $greenplus Timezone now set to: $(cat /etc/timezone)";; + k|K) sudo dpkg-reconfigure keyboard-configuration; echo -e "\n $greenplus Keyboard now set to: $(cat /etc/default/keyboard | grep XKBLAYOUT | cut -d "\"" -f2)";; # h|H) fix_theharvester ;; # q|Q) fix_qterminal_history;; # cant change settings of qterminal while in qterminal... find a fix x|X) echo -e "\n\n Exiting pimpmykali.sh - Happy Hacking! \n" ;;