add nextdns
This commit is contained in:
parent
b7f4414f5a
commit
c407ae4d8e
3 changed files with 17 additions and 0 deletions
2
lite.zsh
2
lite.zsh
|
@ -24,6 +24,8 @@ brew install mas node python3 potrace telnet imagemagick wget golang gradle c204
|
||||||
brew install ffmpeg yt-dlp
|
brew install ffmpeg yt-dlp
|
||||||
brew install --cask ollama darktable arc vscodium vlc protonvpn upscayl android-platform-tools libreoffice krita
|
brew install --cask ollama darktable arc vscodium vlc protonvpn upscayl android-platform-tools libreoffice krita
|
||||||
brew install --cask inkscape
|
brew install --cask inkscape
|
||||||
|
brew tap localsend/localsend
|
||||||
|
brew install localsend
|
||||||
brew install --cask nvidia-geforce-now roblox
|
brew install --cask nvidia-geforce-now roblox
|
||||||
brew install git-credential-manager
|
brew install git-credential-manager
|
||||||
brew tap macos-fuse-t/homebrew-cask
|
brew tap macos-fuse-t/homebrew-cask
|
||||||
|
|
|
@ -93,3 +93,18 @@ else
|
||||||
echo "0 0 * * 0 /sbin/shutdown -r now" | sudo crontab -
|
echo "0 0 * * 0 /sbin/shutdown -r now" | sudo crontab -
|
||||||
echo "Crontab entry added successfully."
|
echo "Crontab entry added successfully."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add auto-ttl...
|
||||||
|
echo "[DSMOSS] Add auto-ttl..."
|
||||||
|
sudo crontab -l | grep "0 0 * * 0 sudo sysctl -w net.inet.ip.ttl=65" > /dev/null 2>&1
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "Crontab entry already exists."
|
||||||
|
else
|
||||||
|
# Add the entry to the crontab
|
||||||
|
echo "0 0 * * 0 sudo sysctl -w net.inet.ip.ttl=65" | sudo crontab -
|
||||||
|
echo "Crontab entry added successfully."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# NextDNS
|
||||||
|
echo "[DSMOSS] Add NextDNS..."
|
||||||
|
open "/System/Library/PreferencePanes/Profiles.prefPane" "nxt.mobileconfig"
|
BIN
nxt.mobileconfig
Normal file
BIN
nxt.mobileconfig
Normal file
Binary file not shown.
Loading…
Reference in a new issue