install-bluetooth: just copy the keys, dont bother symlinking

This commit is contained in:
colin 2023-01-07 09:59:06 +00:00
parent 32a4cb19fd
commit 8f5b92685b
1 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ do
mac=$(sed -rn 's/# MAC=(.*)/\1/p' "$srcdir/$f")
condir="$destdir/$mac"
test -d "$condir" || mkdir "$condir" || test -d "$condir"
ln -sf --no-dereference "$srcdir/$f" "$condir/info"
# bluetoothd just converts my symlinks into plain files anyway, so may as well cp directly
cp "$srcdir/$f" "$condir/info"
# ln -sf --no-dereference "$srcdir/$f" "$condir/info"
touch "$condir/attributes"
done