From owner-freebsd-i386@FreeBSD.ORG Fri Dec 1 08:30:34 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1503216A47C for ; Fri, 1 Dec 2006 08:30:34 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF65143CBB for ; Fri, 1 Dec 2006 08:30:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB18UBZ7015514 for ; Fri, 1 Dec 2006 08:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB18UBLm015508; Fri, 1 Dec 2006 08:30:11 GMT (envelope-from gnats) Resent-Date: Fri, 1 Dec 2006 08:30:11 GMT Resent-Message-Id: <200612010830.kB18UBLm015508@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Richard Arends Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3BCD16A53D for ; Fri, 1 Dec 2006 08:28:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1587943CD6 for ; Fri, 1 Dec 2006 08:26:33 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB18Q0xb090272 for ; Fri, 1 Dec 2006 08:26:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kB18Q0vR090271; Fri, 1 Dec 2006 08:26:00 GMT (envelope-from nobody) Message-Id: <200612010826.kB18Q0vR090271@www.freebsd.org> Date: Fri, 1 Dec 2006 08:26:00 GMT From: Richard Arends To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: i386/106113: typo in man acpi_ibm X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Dec 2006 08:30:34 -0000 >Number: 106113 >Category: i386 >Synopsis: typo in man acpi_ibm >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 01 08:30:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Richard Arends >Release: 6.2-PRERELEASE >Organization: >Environment: FreeBSD bsdlap.unixguru.nl 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Wed Nov 29 12:18:04 CET 2006 root@bsdlap.unixguru.nl:/usr/obj/usr/src/sys/BSDLAP i386 >Description: In man acpi-ibm there's an example shell script. The first case (0x05) a case termination (;;) is missing. case ${NOTIFY} in 0x05) LEVEL=`sysctl -n dev.acpi_${OEM}.0.bluetooth` if [ "$LEVEL" = "1" ] then sysctl dev.acpi_${OEM}.0.bluetooth=0 MESSAGE="bluetooth disabled" else sysctl dev.acpi_${OEM}.0.bluetooth=1 MESSAGE="bluetooth enabled" fi 0x10|0x11) >How-To-Repeat: man acpi-ibm >Fix: Put a case termination in the first case case ${NOTIFY} in 0x05) LEVEL=`sysctl -n dev.acpi_${OEM}.0.bluetooth` if [ "$LEVEL" = "1" ] then sysctl dev.acpi_${OEM}.0.bluetooth=0 MESSAGE="bluetooth disabled" else sysctl dev.acpi_${OEM}.0.bluetooth=1 MESSAGE="bluetooth enabled" fi ++ ;; 0x10|0x11) >Release-Note: >Audit-Trail: >Unformatted: