cmds

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

README

说明

对于包含有对应 .gz 的脚本文件,说明当前脚本时通过 []byte 方式被 embed 的。 相关的 .sh shell 脚本文件为源文件,仅用于查看及修改。

服务列表

boot_time.sh

获取系统启动时间

crash_exist.sh

判断 shellcrash 服务是否存在,用于判断是否展示相关的服务功能

crash_start.sh

设置 shellcrash 服务启动或重启

crash_stop.sh

设置 shellcrash 服务停止

disk_usage.sh

获取磁盘占用情况

hostname.sh

获取系统的 hostname

mem_usage.sh

获取系统内存的占用百分比

myip.sh

获取系统外网访问的IP地址

network_device.sh

network_dhcp.sh

reboot.sh

重启 openwrt 路由器

running_time.sh

获取 openwrt 路由器的运行时长

temp_cpu.sh

获取 cpu 温度

time_now.sh

获取系统当前时间

yacd_allow_lan.sh

yacd_mode.sh

yacd_stats.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

crash_stop.sh

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ScriptBootTime string
View Source
var ScriptCrashExist []byte
View Source
var ScriptCrashStart string
View Source
var ScriptCrashStop string
View Source
var ScriptDiskUsage string
View Source
var ScriptHostName string
View Source
var ScriptMemUsage string
View Source
var ScriptMyIP string
View Source
var ScriptNetWorkDhcp string
View Source
var ScriptNetworkDevice string
View Source
var ScriptReboot string
View Source
var ScriptRunningTime string
View Source
var ScriptTempCpu string
View Source
var ScriptTest string
View Source
var ScriptTimeNow string
View Source
var ScriptYacdAllowLan []byte
View Source
var ScriptYacdMode []byte
View Source
var ScriptYacdStats []byte

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL