添加 Openwrt-19.07 特性(by teasiu)

This commit is contained in:
Hyy2001X 2021-05-15 16:10:57 +08:00
parent 82e0497dfd
commit de9b4b81bd
1 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,16 @@ esac
unset FILE unset FILE
} }
alias ll='ls -alF --color=auto'
service() {
[ -f "/etc/init.d/$1" ] || {
echo "service "'"'"$1"'"'" not found, the following services are available:"
ls "/etc/init.d"
return 1
}
/etc/init.d/$@
}
Sysinfo Sysinfo
alias autoupdate='bash /bin/AutoUpdate.sh' alias autoupdate='bash /bin/AutoUpdate.sh'
alias AutoUpdate='bash /bin/AutoUpdate.sh' alias AutoUpdate='bash /bin/AutoUpdate.sh'