FunKey-OS/Recovery/board/funkey/rootfs-overlay/etc/init.d/S03rclocal

22 lines
262 B
Bash
Executable File

#!/bin/sh
THIS=$(basename $0)
case "$1" in
start)
if /etc/rc.local; then
echo "Starting rc.local: OK"
exit 0
else
echo "Starting rc.local: ERROR"
exit 1
fi
;;
stop)
;;
*)
echo "Usage: $0 {start|stop}" >&2
exit 2
;;
esac