同上
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
# 静默启动:nohup command > output.log 2>&1 &
|
||||
BLOG_DIR="$HOME/hugosite"
|
||||
cd "$BLOG_DIR"
|
||||
|
||||
rm -rf ./public
|
||||
rm -rf ./resources
|
||||
# 获取 IP 地址
|
||||
IPV4=$(ifconfig | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}' | head -1)
|
||||
IPV6=$(ifconfig | grep -E "broadcast|autoconf secured" | grep "inet6"| awk '{print $2}' | head -1)
|
||||
|
||||
Reference in New Issue
Block a user