openpli-oe /recipes/openpli/pli-files/gsub.sh

Language Bourne Shell Lines 22
MD5 Hash e59d5a51612207e476c34624decd7509 Estimated Cost $306 (why?)
Repository https://bitbucket.org/lokkju/openpli-oe.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# start/stop gsub

if ! [ -x /usr/bin/gSUB ]; then
	exit 0
fi

case "$1" in
	start)
		start-stop-daemon -S -b -x /usr/bin/gSUB
		;;
	stop)
		start-stop-daemon -K -x /usr/bin/gSUB
		;;
	*)
		;;
esac

exit 0
Back to Top