mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
3804268de8
Version 8.2604.0 follows the YYYYMM.x versioning scheme (April 2026). The 8.2604.0 release enables --enable-impstats-push by default, which requires protobuf-c-compiler (protoc-c). Since we don't ship protobuf-c in the SDK environment and the impstats push feature is not essential for typical OpenWrt use, disable it explicitly with --disable-impstats-push. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
30 lines
550 B
Bash
30 lines
550 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
rsyslog)
|
|
rsyslogd -v 2>&1 | grep -qF "$2" || {
|
|
echo "FAIL: rsyslogd -v did not print expected version '$2'"
|
|
exit 1
|
|
}
|
|
echo "rsyslogd version: OK"
|
|
|
|
[ -f /etc/rsyslog.conf ] || {
|
|
echo "FAIL: /etc/rsyslog.conf not installed"
|
|
exit 1
|
|
}
|
|
echo "rsyslog.conf: OK"
|
|
|
|
[ -x /etc/init.d/rsyslog ] || {
|
|
echo "FAIL: /etc/init.d/rsyslog not executable"
|
|
exit 1
|
|
}
|
|
echo "init script: OK"
|
|
|
|
[ -d /usr/lib/rsyslog ] || {
|
|
echo "FAIL: /usr/lib/rsyslog plugin directory not installed"
|
|
exit 1
|
|
}
|
|
echo "plugin dir: OK"
|
|
;;
|
|
esac
|