update rootfs
This commit is contained in:
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 ------------
|
||||
@@ -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)
|
||||
|
||||
@@ -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,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
. /etc/init.d/init-funcs
|
||||
. /etc/init.d/funcs/init-funcs
|
||||
rc
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user