From de9b4b81bda9650d7096f51d48f7d77e7528380c Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Sat, 15 May 2021 16:10:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Openwrt-19.07=20=E7=89=B9?= =?UTF-8?q?=E6=80=A7(by=20teasiu)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CustomFiles/Depends/profile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CustomFiles/Depends/profile b/CustomFiles/Depends/profile index e5a13b9..0548363 100644 --- a/CustomFiles/Depends/profile +++ b/CustomFiles/Depends/profile @@ -64,6 +64,16 @@ esac 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 alias autoupdate='bash /bin/AutoUpdate.sh' alias AutoUpdate='bash /bin/AutoUpdate.sh'