core/src/sbin/configctl
Franco Fichtner 72d5e865cb configd: make note when we are not running
Even if we are supposed to return well-formed output it's better
to show a hard error here so we can trace the problem to this message.
It's somewhat aligned with rc's restart message but not with a
question mark at the end so that it's clear...
2017-08-21 10:49:57 +02:00

10 lines
177 B
Bash
Executable File

#!/bin/sh
if [ ! -e /var/run/configd.pid ]; then
echo "configd not running!"
exit 1
fi
# launch the real utility from here
/usr/local/opnsense/service/configd_ctl.py "${@}"