Compare commits
No commits in common. "d3dd02206d2af9d5e3331dcbcd9f50404140cbb7" and "a422e3d48d60ffac6b3e0ef194438e52ca8fbe82" have entirely different histories.
d3dd02206d
...
a422e3d48d
@ -1,9 +0,0 @@
|
||||
# Make sure script is ran as root
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
exec sudo /bin/bash "$0" "$@"
|
||||
fi
|
||||
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
ollama serve
|
||||
|
||||
# docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama
|
@ -5,7 +5,7 @@ if [[ $EUID -ne 0 ]]; then
|
||||
exec sudo /bin/bash "$0" "$@"
|
||||
fi
|
||||
read -e -p "Enter lan NIC: " -i $(ip route | grep default | sed -e 's/^.*dev.//' -e 's/.proto.*//') NIC_NAME
|
||||
read -e -p "Enter VPN subnet: " -i "172.19.100" VPN_SUBNET
|
||||
read -e -p "Enter VPN subnet: " -i "192.168.200" VPN_SUBNET
|
||||
read -e -p "Enter LAN subnet: " -i "192.168.0" LAN_SUBNET
|
||||
read -e -p "Enter VPN public hostname: " -i "home.myspace.nu" VPN_PUBLIC_HOST
|
||||
read -e -p "Enter VPN public portnumber: " -i "51820" VPN_PUBLIC_PORT
|
||||
|
@ -75,13 +75,6 @@ if %ERRORLEVEL% EQU 1 (
|
||||
taskkill /F /IM explorer.exe & start explorer
|
||||
)
|
||||
|
||||
choice /C yn /M "Disable UAC?"
|
||||
if %ERRORLEVEL% EQU 1 (
|
||||
echo Disabling UAC.
|
||||
REG ADD HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system /v EnableLUA /t REG_DWORD /d 0 /F >nul 2>&1
|
||||
echo You must restart the computer before changes are in effect.
|
||||
)
|
||||
|
||||
echo.
|
||||
echo All done!
|
||||
popd
|
||||
|
Loading…
x
Reference in New Issue
Block a user