chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

if-bluetooth (193B)


      1 #!/bin/sh
      2 # runs a program only on computers with bluetooth: blueman's tray icon is 60 MB for nothing without it
      3 for a in /sys/class/bluetooth/hci*; do
      4     [ -e "$a" ] && exec "$@"
      5 done
      6 exit 0