[augeas-devel] [Augeas] #75: parse error on Debian: default/bluetooth
Augeas
trac at fedorahosted.org
Mon Dec 19 11:26:13 UTC 2011
#75: parse error on Debian: default/bluetooth
-------------------------+-------------------------------------------------
Reporter: micah | Owner: lutter
Type: defect | Status: assigned
Priority: minor | Milestone: next
Component: Augeas | Version: 0.5.1
Resolution: | Keywords: debian, parse error, lense,
Blocking: | default, bluetooth
| Blocked By:
-------------------------+-------------------------------------------------
Description changed by raphink:
Old description:
> <pre>
> augtool> ls /augeas/files/etc/default/bluetooth/error
> pos = 863
> line = 26
> char = 0
> lens = /usr/share/augeas/lenses/dist/shellvars.aug:44.12-.53
> message = Iterated lens matched less than it should
> </pre>
>
> <pre>
> # Defaults for bluez-utils
>
> # This file supersedes /etc/default/bluez-pan. If
> # that exists on your system, you should use this
> # file instead and remove the old one. Until you
> # do so, the contents of this file will be ignored.
> BLUETOOTH_ENABLED=0
>
> ############ HIDD
> #
> # To have Bluetooth mouse and keyboard support, get the
> # Linux 2.6.6 patch or better from bluez.org, and set
> # HIDD_ENABLED to 1.
> HIDD_ENABLED=1
> HIDD_OPTIONS="--master --server"
> # to make hidd always use a particular interface, use something
> # like this, substituting the bdaddr of the interface:
> # HIDD_OPTIONS="-i AA:BB:CC:DD:EE:FF --server"
> #
> # remove '--master' if you're having trouble working with Ericsson
> # T630 phones with hidd operational at the same time.
>
> ############ COMPATIBILITY WITH OLD BLUEZ-PAN
> # Compatibility: if old PAN config exists, use it
> # rather than this file.
> if test -f /etc/default/bluez-pan; then
> . /etc/default/bluez-pan
> return
> fi
> ############
>
> ############ DUND
> #
> # Run dund -- this allows ppp logins. 1 for enabled, 0 for disabled.
> DUND_ENABLED=1
>
> # Arguments to dund: defaults to acting as a server
> DUND_OPTIONS="--listen --persist"
>
> # Run dund --help to see the full array of options.
> # Here are some examples:
> #
> # Connect to any nearby host offering access
> DUND_OPTIONS="--search"
> #
> # Connect to host 00:11:22:33:44:55
> # DUND_OPTIONS="--connect 00:11:22:33:44:55"
> #
> # Listen on channel 3
> # DUND_OPTIONS="--listen --channel 3"
>
> # Special consideration is needed for certain devices. Microsoft
> # users see the --msdun option. Ericsson P800 users will need to
> # listen on channel 3 and also run 'sdptool add --channel=3 SP'
>
> ############ PAND
> #
> # Run pand -- ethernet: creates new network interfaces bnep<N>
> # that can be configured in /etc/network/interfaces
> # set to 1 for enabled, 0 for disabled
> PAND_ENABLED=1
>
> # Arguments to pand
> # Read the PAN howto for ways to set this up
> # http://bluez.sourceforge.net/contrib/HOWTO-PAN
> PAND_OPTIONS=""
>
> # example pand lines
> #
> # Act as the controller of an ad-hoc network
> # PAND_OPTIONS="--listen --role GN"
> #
> # Act as a network access point: routes to other networks
> # PAND_OPTIONS="--listen --role NAP"
> #
> # Act as a client of an ad-hoc controller with number 00:11:22:33:44:55
> # PAND_OPTIONS="--role PANU --connect 00:11:22:33:44:55"
> #
> # Connect to any nearby network controller (access point or ad-hoc)
> PAND_OPTIONS="--role PANU --search"
>
> HID2HCI_ENABLE=true
> </pre>
New description:
{{{
augtool> ls /augeas/files/etc/default/bluetooth/error
pos = 863
line = 26
char = 0
lens = /usr/share/augeas/lenses/dist/shellvars.aug:44.12-.53
message = Iterated lens matched less than it should
}}}
{{{
# Defaults for bluez-utils
# This file supersedes /etc/default/bluez-pan. If
# that exists on your system, you should use this
# file instead and remove the old one. Until you
# do so, the contents of this file will be ignored.
BLUETOOTH_ENABLED=0
############ HIDD
#
# To have Bluetooth mouse and keyboard support, get the
# Linux 2.6.6 patch or better from bluez.org, and set
# HIDD_ENABLED to 1.
HIDD_ENABLED=1
HIDD_OPTIONS="--master --server"
# to make hidd always use a particular interface, use something
# like this, substituting the bdaddr of the interface:
# HIDD_OPTIONS="-i AA:BB:CC:DD:EE:FF --server"
#
# remove '--master' if you're having trouble working with Ericsson
# T630 phones with hidd operational at the same time.
############ COMPATIBILITY WITH OLD BLUEZ-PAN
# Compatibility: if old PAN config exists, use it
# rather than this file.
if test -f /etc/default/bluez-pan; then
. /etc/default/bluez-pan
return
fi
############
############ DUND
#
# Run dund -- this allows ppp logins. 1 for enabled, 0 for disabled.
DUND_ENABLED=1
# Arguments to dund: defaults to acting as a server
DUND_OPTIONS="--listen --persist"
# Run dund --help to see the full array of options.
# Here are some examples:
#
# Connect to any nearby host offering access
DUND_OPTIONS="--search"
#
# Connect to host 00:11:22:33:44:55
# DUND_OPTIONS="--connect 00:11:22:33:44:55"
#
# Listen on channel 3
# DUND_OPTIONS="--listen --channel 3"
# Special consideration is needed for certain devices. Microsoft
# users see the --msdun option. Ericsson P800 users will need to
# listen on channel 3 and also run 'sdptool add --channel=3 SP'
############ PAND
#
# Run pand -- ethernet: creates new network interfaces bnep<N>
# that can be configured in /etc/network/interfaces
# set to 1 for enabled, 0 for disabled
PAND_ENABLED=1
# Arguments to pand
# Read the PAN howto for ways to set this up
# http://bluez.sourceforge.net/contrib/HOWTO-PAN
PAND_OPTIONS=""
# example pand lines
#
# Act as the controller of an ad-hoc network
# PAND_OPTIONS="--listen --role GN"
#
# Act as a network access point: routes to other networks
# PAND_OPTIONS="--listen --role NAP"
#
# Act as a client of an ad-hoc controller with number 00:11:22:33:44:55
# PAND_OPTIONS="--role PANU --connect 00:11:22:33:44:55"
#
# Connect to any nearby network controller (access point or ad-hoc)
PAND_OPTIONS="--role PANU --search"
HID2HCI_ENABLE=true
}}}
--
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/75#comment:3>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list