mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 02:45:13 +08:00
🍉 Sync 2026-03-25 20:27:28
This commit is contained in:
1 parent
f5804df2a5
commit
096f0f3ba0
14 files changed
+145
-21
No files matched your search
@@ -1,3 +1,3 @@
|
||||
#ip r | awk '/default/{print "interface "$5": "$9}'
|
||||
IP=$(nslookup myip.opendns.com resolver1.opendns.com | awk '/^Address( 1)?: / { print $3 }')
|
||||
IP=$(nslookup myip.opendns.com resolver1.opendns.com | awk '/^[[:space:]]*Address( 1)?: / { print $2 }')
|
||||
echo -en "[$IP](https://whois.ru/$IP)"
|
||||
@@ -159,6 +159,7 @@ do
|
||||
} || {
|
||||
RETURN_TEXT="Command not accepted! Uptime ${UPTIME} sec is smaller 180s"
|
||||
reply_to_msg $msg_id $origin "\${RETURN_TEXT}"
|
||||
}
|
||||
;;
|
||||
("/wol")
|
||||
(echo "Call $cmd [$parms]" | logger -t "telegram_bot" -p daemon.info)&
|
||||
|
||||
Reference in new issue
Block a user