8 lines
311 B
Bash
8 lines
311 B
Bash
#!/bin/sh
|
||
# 安裝 time CGI 到 Allxon Bolt HTTP server
|
||
# 在 Bolt 上執行:sh install.sh
|
||
# 安裝後可用:GET http://192.168.0.100/api/time → {"unix": <epoch>}
|
||
cp ./content/time /usr/local/sbin/www/api/time
|
||
chmod +x /usr/local/sbin/www/api/time
|
||
echo "time CGI installed: http://192.168.0.100/api/time"
|