add doomship key

This commit is contained in:
luk
2026-04-28 19:37:38 +08:00
parent a94b938ba6
commit e0c2452562
3 changed files with 4 additions and 6 deletions

View File

@@ -125,11 +125,6 @@ esac
# others:
# \w shows absolute path, \W shows current folder.
if [ "$(uname)" = "Darwin" ]; then
MYIPLAN=$(ifconfig en0 | grep "inet " | awk '{print $2}')
else
MYIPLAN=$(echo `hostname -I` | awk '{print $1;}')
fi
MYIPPUB=$(curl -s ifconfig.me)
if [ "$(uname)" = "Darwin" ]; then