mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix typo
This commit is contained in:
parent
e01c298fbf
commit
37940994d2
@ -13,7 +13,7 @@ WORK_PATH = os.path.abspath(os.path.dirname(__file__))
|
||||
@click.group()
|
||||
def cli():
|
||||
"""
|
||||
The CLI is a commands to arpl.
|
||||
The CLI is a commands to RR.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
@ -175,7 +175,7 @@ echo
|
||||
DSMLOGO="$(readConfigKey "dsmlogo" "${USER_CONFIG_FILE}")"
|
||||
if [ "${DSMLOGO}" = "true" -a -c "/dev/fb0" ]; then
|
||||
IP="$(getIP)"
|
||||
[ -n "${IP}" ] && URL="http://${IP}:7681" || URL="http://arpl:7681/"
|
||||
[ -n "${IP}" ] && URL="http://${IP}:7681" || URL="http://rr:7681/"
|
||||
python ${WORK_PATH}/include/functions.py makeqr -d "${URL}" -l "bl" -o "${TMP_PATH}/qrcode.png"
|
||||
[ -f "${TMP_PATH}/qrcode.png" ] && echo | fbv -acufi "${TMP_PATH}/qrcode.png" >/dev/null 2>/dev/null || true
|
||||
fi
|
||||
|
@ -1257,7 +1257,10 @@ function advancedMenu() {
|
||||
editGrubCfg
|
||||
NEXT="e"
|
||||
;;
|
||||
t) tryRecoveryDSM ;;
|
||||
t)
|
||||
tryRecoveryDSM
|
||||
NEXT="e"
|
||||
;;
|
||||
s)
|
||||
MSG=""
|
||||
NUMPORTS=0
|
||||
|
4
guide.md
4
guide.md
@ -111,8 +111,8 @@
|
||||
# 内核相关
|
||||
sysctl -n kernel.syno_serial # 查看当前鉴权的 SN
|
||||
cat /proc/sys/kernel/syno_serial # 查看当前鉴权的 SN
|
||||
sysctl -n kernel.syno_mac_address1 # 查看当前鉴权的mcac1 (kernel.syno_mac_addresses)
|
||||
cat /proc/sys/kernel/syno_mac_address1 # 查看当前鉴权的mcac1 (/proc/sys/kernel/syno_mac_addresses)
|
||||
sysctl -n kernel.syno_mac_address1 # 查看当前鉴权的 mac1 (kernel.syno_mac_addresses)
|
||||
cat /proc/sys/kernel/syno_mac_address1 # 查看当前鉴权的 mac1 (/proc/sys/kernel/syno_mac_addresses)
|
||||
sysctl -n kernel.syno_internal_netif_num # 查看当前鉴权的网卡数量
|
||||
cat /proc/sys/kernel/syno_internal_netif_num # 查看当前鉴权的网卡数量
|
||||
nproc # 查看当前线程数
|
||||
|
Loading…
x
Reference in New Issue
Block a user