mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
refactor: cleanup scripts
This commit is contained in:
parent
15b06d5196
commit
d2e517d76a
9 changed files with 60 additions and 160 deletions
|
|
@ -1,11 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
# setting the locale, some users have issues with different locales, this forces the correct one
|
||||
|
||||
export LC_ALL=en_US.UTF-8
|
||||
|
||||
HOSTS="google.com github.com example.com"
|
||||
|
||||
get_ssid() {
|
||||
# Check OS
|
||||
case $(uname -s) in
|
||||
Linux)
|
||||
SSID=$(iwgetid -r)
|
||||
|
|
@ -25,14 +24,8 @@ get_ssid() {
|
|||
fi
|
||||
;;
|
||||
|
||||
CYGWIN* | MINGW32* | MSYS* | MINGW*)
|
||||
# leaving empty - TODO - windows compatability
|
||||
;;
|
||||
|
||||
*) ;;
|
||||
|
||||
CYGWIN* | MINGW32* | MSYS* | MINGW*) ;; # TODO - windows compatability
|
||||
esac
|
||||
|
||||
}
|
||||
|
||||
main() {
|
||||
|
|
@ -47,5 +40,4 @@ main() {
|
|||
echo "$network"
|
||||
}
|
||||
|
||||
#run main driver function
|
||||
main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue