From 0d65d6862a050dd0bbdc1984bf549086ce9d75c4 Mon Sep 17 00:00:00 2001 From: Paul Otto Date: Fri, 3 Nov 2023 21:38:44 -0400 Subject: [PATCH] client: Add bluetoothctl-admin.1 man page This adds bluetoothctl-admin.rst which is then converted to bluetoothctl-admin.1 using rst2man. --- Makefile.tools | 5 +++-- client/bluetoothctl-admin.rst | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 client/bluetoothctl-admin.rst diff --git a/Makefile.tools b/Makefile.tools index 0bc0f232d..4de899132 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -349,7 +349,7 @@ profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS) if MANPAGES man_MANS += tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/isotest.1 \ tools/btmgmt.1 client/bluetoothctl-mgmt.1 \ - client/bluetoothctl-monitor.1 + client/bluetoothctl-monitor.1 client/bluetoothctl-admin.1 endif if MESH @@ -472,7 +472,8 @@ manual_pages += tools/hciattach.1 tools/hciconfig.1 \ tools/rctest.1 tools/l2ping.1 tools/btattach.1 \ tools/bdaddr.1 tools/isotest.1 tools/btmgmt.1 \ client/bluetoothctl-mgmt.1 \ - client/bluetoothctl-monitor.1 + client/bluetoothctl-monitor.1 \ + client/bluetoothctl-admin.1 if HID2HCI udevdir = $(UDEV_DIR) diff --git a/client/bluetoothctl-admin.rst b/client/bluetoothctl-admin.rst new file mode 100644 index 000000000..774af0530 --- /dev/null +++ b/client/bluetoothctl-admin.rst @@ -0,0 +1,41 @@ +================== +bluetoothctl-admin +================== + +-------------------- +Admin Policy Submenu +-------------------- + +:Version: BlueZ +:Copyright: Free use of this software is granted under ther terms of the GNU + Lesser General Public Licenses (LGPL). +:Date: November 2022 +:Manual section: 1 +:Manual group: Linux System Administration + +SYNOPSIS +======== + +**bluetoothctl** [--options] [admin.commands] + +Admin Policy Commands +===================== + +allow +----- + +Allow service UUIDs and block rest of them. + +:Usage: **# allow [clear/uuid1 uuid2 ...]** +:Example: **# allow 0x1101 0x1102 0x1103** +:Example: **# allow clear** + +RESOURCES +========= + +http://www.bluez.org + +REPORTING BUGS +============== + +linux-bluetooth@vger.kernel.org -- 2.47.3