Skip to content
This repository has been archived by the owner on Sep 27, 2020. It is now read-only.

Update S99custom #370

Open
wants to merge 1 commit into
base: rb-4.1.X
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 20 additions & 1 deletion board/recalbox/fsoverlay/etc/init.d/S99custom
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
#!/bin/bash
#
#

test -e "/recalbox/share/system/custom.sh" && /recalbox/share/system/custom.sh $1
log=/recalbox/share/system/logs/recalbox.log
param=""

[ ! -f /recalbox/share/system/custom.sh ] && exit 1
case "$1" in
start)
param="start"
;;
stop)
param="stop"
;;
*)
;;
esac

if param<>"" then eval /recalbox/share/system/custom.sh $param >> $log & fi

exit