From a63d69d91259230acf4fdd481329baae1064eae6 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Fri, 16 Dec 2022 19:42:42 -0500 Subject: Rename file and resulting conf file to hwdb. --- linux-ncaps.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 linux-ncaps.sh (limited to 'linux-ncaps.sh') diff --git a/linux-ncaps.sh b/linux-ncaps.sh new file mode 100644 index 0000000..f48d9cb --- /dev/null +++ b/linux-ncaps.sh @@ -0,0 +1,23 @@ +#!/bin/sh +set -e +set -x +_s="sudo" +[ "$(id -u)" -eq 0 ] && _s="" +hwdb_f="$(mktemp)" +cat > "$hwdb_f" <