Package: qcontrol
Severity: normal

I think this is copy&paste problem in /etc/init.d/qcontrol script
(marked by *)

case "$1" in
    start)
        # Change status led to show green
        device=$(grep "Hardware[[:space:]]*:" /proc/cpuinfo 2>/dev/null | \
                 head -n1 | sed "s/^[^:]*: //")
        case $device in
            "QNAP TS-109/TS-209" | "QNAP TS-119/TS-219")
                test_event_dev || exit 0
                if pid=$(qcontrol_start); then
                        log_action_msg "System boot completed"
                        # Returns 1 even on success
                        qcontrol statusled greenon || true
                        qcontrol powerled on || true
                        if [ "$SOUND_BUZZER" != no ]; then
                                qcontrol buzzer short || true
                        fi

*                       # Kill the control process
*                       kill -TERM $pid
*                       rm -f $SOCKET
                fi
                ;;



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to