Source Update
This commit is contained in:
parent
cc1cc6e39f
commit
3d04f2f24c
@ -6,14 +6,15 @@ wx-login(){
|
|||||||
|
|
||||||
ORG=$1
|
ORG=$1
|
||||||
|
|
||||||
if [[ -z "$HOSTNAME" || ${#HOSTNAME} -lt 5 ]]; then
|
if [[ -z "$HOSTNAME" || ${#HOSTNAME} -lt 5 ]]
|
||||||
|
then
|
||||||
wx-stop
|
wx-stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $(hostname -d) == "devices.waren.io" ]]
|
if [[ $(hostname -d) == "devices.waren.io" ]]
|
||||||
then
|
then
|
||||||
ORG=warengroup
|
ORG=warengroup
|
||||||
elif [[ $(hostname -d) == "devices.cwinfo.net" ]]
|
elif [[ $(hostname -d) == "devices.cwinfo.net" || $(hostname -d) == "fr1.servers.devices.cwinfo.net" ]]
|
||||||
then
|
then
|
||||||
ORG=cwinfo
|
ORG=cwinfo
|
||||||
elif [[ $(hostname -d) == "devices.christerwaren.fi" ]]
|
elif [[ $(hostname -d) == "devices.christerwaren.fi" ]]
|
||||||
|
5
wx
5
wx
@ -28,14 +28,15 @@ wx-login(){
|
|||||||
|
|
||||||
ORG=$1
|
ORG=$1
|
||||||
|
|
||||||
if [[ -z "$HOSTNAME" || ${#HOSTNAME} -lt 5 ]]; then
|
if [[ -z "$HOSTNAME" || ${#HOSTNAME} -lt 5 ]]
|
||||||
|
then
|
||||||
wx-stop
|
wx-stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $(hostname -d) == "devices.waren.io" ]]
|
if [[ $(hostname -d) == "devices.waren.io" ]]
|
||||||
then
|
then
|
||||||
ORG=warengroup
|
ORG=warengroup
|
||||||
elif [[ $(hostname -d) == "devices.cwinfo.net" ]]
|
elif [[ $(hostname -d) == "devices.cwinfo.net" || $(hostname -d) == "fr1.servers.devices.cwinfo.net" ]]
|
||||||
then
|
then
|
||||||
ORG=cwinfo
|
ORG=cwinfo
|
||||||
elif [[ $(hostname -d) == "devices.christerwaren.fi" ]]
|
elif [[ $(hostname -d) == "devices.christerwaren.fi" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user