summaryrefslogtreecommitdiff
path: root/www/oops/files/oops.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/oops/files/oops.sh')
-rw-r--r--www/oops/files/oops.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/oops/files/oops.sh b/www/oops/files/oops.sh
index 1e25698806f7..4a2d70ac590e 100644
--- a/www/oops/files/oops.sh
+++ b/www/oops/files/oops.sh
@@ -8,12 +8,12 @@ fi
case "$1" in
start)
if [ -x ${PREFIX}/sbin/oopsctl ]; then
- ${PREFIX}/sbin/oopsctl start 2>&1 > /dev/null; echo -n ' oops'
+ ${PREFIX}/sbin/oopsctl $1 2>&1 > /dev/null; echo -n ' oops'
fi
;;
stop)
if [ -x ${PREFIX}/sbin/oopsctl ]; then
- ${PREFIX}/sbin/oopsctl -s /tmp/oopsctl stop
+ ${PREFIX}/sbin/oopsctl $1
fi
;;
*)