mirror of https://github.com/OpenIPC/firmware.git
overlay-files: Fix rc.local output display during boot (#1017)
parent
296bd0f613
commit
5befca706a
general/overlay/etc/init.d
|
@ -5,12 +5,12 @@
|
||||||
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
printf "Starting rc.local"
|
echo "Starting rc.local"
|
||||||
/etc/rc.local
|
/etc/rc.local
|
||||||
}
|
}
|
||||||
|
|
||||||
restart() {
|
restart() {
|
||||||
printf "Restarting rc.local"
|
echo "Restarting rc.local"
|
||||||
/etc/rc.local
|
/etc/rc.local
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,9 +22,11 @@ case "$1" in
|
||||||
restart|reload)
|
restart|reload)
|
||||||
start
|
start
|
||||||
;;
|
;;
|
||||||
|
stop)
|
||||||
|
# Intentionally left blank, no need to stop rc.local
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|restart|reload}"
|
echo "Usage: $0 {start|stop|restart|reload}"
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue