update rootfs

This commit is contained in:
wt committed 2024-08-25 02:40:07 +07:00
1 parent 0ea96d011c
commit c52cf00e6d
17 files changed
+617 -163

No files matched your search

File renamed without changes.
@@ -1,7 +1,7 @@
#!/bin/sh
#--- import colors ---
. /etc/init.d/colors.sh
. /etc/init.d/funcs/colors.sh
#---------------------
#---------------------- rc function to poweron or poweroff ------------
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/sh
. /etc/init.d/colors.sh
. /etc/init.d/init-funcs
. /etc/init.d/funcs/colors.sh
. /etc/init.d/funcs/init-funcs
case "$1" in
start)
+5 -3
View File
@@ -1,7 +1,7 @@
#!/bin/sh
. /etc/init.d/init-funcs
. /etc/init.d/colors.sh
. /etc/init.d/funcs/init-funcs
. /etc/init.d/funcs/colors.sh
case "$1" in
start)
@@ -14,7 +14,9 @@ case "$1" in
printf "$UYELLOW Stopping netowrking\n$RESET"
/sbin/ifdown -a
check $? "Stop networking"
rm /var/run/networking.pid
if [ -f /var/run/networking.pid ]; then
rm /var/run/networking.pid
fi
;;
restart|reload)
$0 stop
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/sh
. /etc/init.d/init-funcs
. /etc/init.d/funcs/init-funcs
rc
+2 -2
View File
@@ -1,7 +1,7 @@
#!/bin/sh
. /etc/init.d/init-funcs
. /etc/init.d/colors.sh
. /etc/init.d/funcs/init-funcs
. /etc/init.d/funcs/colors.sh
case "$1" in
start)