mirror of
https://github.com/tsingui/softcenter-1.git
synced 2025-04-04 15:55:24 +00:00
24 lines
345 B
Bash
Executable File
24 lines
345 B
Bash
Executable File
#!/bin/sh
|
|
|
|
source /jffs/softcenter/scripts/base.sh
|
|
export PERP_BASE=/koolshare/perp
|
|
|
|
case $ACTION in
|
|
start)
|
|
if ! pidof perpd > /dev/null; then
|
|
perpboot -d
|
|
fi
|
|
;;
|
|
stop)
|
|
if pidof perpd > /dev/null; then
|
|
kill -9 `pidof perpboot`
|
|
kill -9 `pidof tinylog`
|
|
kill -9 `pidof perpd`
|
|
fi
|
|
;;
|
|
*)
|
|
echo "Usage: $0 (start)"
|
|
exit 1
|
|
;;
|
|
esac
|