Add bluetooth detection and service
This commit is contained in:
parent
74826c6405
commit
f164f6025b
2 changed files with 15 additions and 1 deletions
|
@ -20,6 +20,13 @@ else
|
||||||
fi
|
fi
|
||||||
options+=("net-snmp" "SNMP Server" off)
|
options+=("net-snmp" "SNMP Server" off)
|
||||||
options+=("samba" "Server SMB" off)
|
options+=("samba" "Server SMB" off)
|
||||||
|
if (dmesg |grep Bluetooth) then
|
||||||
|
options+=("bluez" "" on)
|
||||||
|
options+=("bluez-libs" "" on)
|
||||||
|
else
|
||||||
|
options+=("bluez" "" off)
|
||||||
|
options+=("bluez-libs" "" off)
|
||||||
|
fi
|
||||||
options+=("syslog-ng" "" off)
|
options+=("syslog-ng" "" off)
|
||||||
options+=("pkgstats" "" off)
|
options+=("pkgstats" "" off)
|
||||||
options+=("ntp" "" off)
|
options+=("ntp" "" off)
|
||||||
|
@ -58,6 +65,9 @@ for itm in $sel; do
|
||||||
'"cronie"')
|
'"cronie"')
|
||||||
svcenable cronie
|
svcenable cronie
|
||||||
;;
|
;;
|
||||||
|
'"bluez"')
|
||||||
|
svcenable bluetooth "Bluetooth Service"
|
||||||
|
;;
|
||||||
'"ntp"')
|
'"ntp"')
|
||||||
svcenable ntpd "NTP Server"
|
svcenable ntpd "NTP Server"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -7,7 +7,11 @@ options+=("alsa-plugins" "Extra alsa plugins" on)
|
||||||
#options+=("lib32-alsa-plugins" "Extra alsa plugins" on)
|
#options+=("lib32-alsa-plugins" "Extra alsa plugins" on)
|
||||||
options+=("pulseaudio" "Sound server" on)
|
options+=("pulseaudio" "Sound server" on)
|
||||||
options+=("pulseaudio-alsa" "ALSA Configuration for PulseAudio" on)
|
options+=("pulseaudio-alsa" "ALSA Configuration for PulseAudio" on)
|
||||||
|
if (dmesg |grep Bluetooth) then
|
||||||
|
options+=("pulseaudio-bluetooth" "A2DP support for PulseAudio" on)
|
||||||
|
else
|
||||||
options+=("pulseaudio-bluetooth" "A2DP support for PulseAudio" off)
|
options+=("pulseaudio-bluetooth" "A2DP support for PulseAudio" off)
|
||||||
|
fi
|
||||||
options+=("pulseaudio-equalizer" "Equalizer for PulseAudio" off)
|
options+=("pulseaudio-equalizer" "Equalizer for PulseAudio" off)
|
||||||
|
|
||||||
sel=$(whiptail --backtitle "$apptitle" --title "System Sound Install" --checklist "" --cancel-button "Back" 0 0 0 \
|
sel=$(whiptail --backtitle "$apptitle" --title "System Sound Install" --checklist "" --cancel-button "Back" 0 0 0 \
|
||||||
|
|
Loading…
Reference in a new issue