#!/bin/sh
# Stop + disable before removal (skip in offline image builds). Guarded with
# `|| true` so a non-zero result can't abort removal under opkg's `set -e`.
[ -n "${IPKG_INSTROOT}" ] || {
    /etc/init.d/qetra stop 2>/dev/null || true
    /etc/init.d/qetra disable 2>/dev/null || true
}
exit 0
