mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-16 15:11:52 +00:00
Now that pccardc beep actually works, add knob for it in rc.conf/rc.pccard
Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)
This commit is contained in:
parent
03599baeb2
commit
b11b638301
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54041
@ -21,6 +21,7 @@ apmd_enable="NO" # Run apmd to handle APM event from userland.
|
||||
apmd_flags="" # Flags to apmd (if enabled).
|
||||
pccard_enable="NO" # Set to YES if you want to configure PCCARD devices.
|
||||
pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address.
|
||||
pccard_beep="1" # pccard beep type.
|
||||
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO).
|
||||
pccardd_flags="" # Additional flags for pccardd.
|
||||
pccard_conf="/etc/pccard.conf.sample" # pccardd(8) config file
|
||||
|
@ -13,6 +13,10 @@ case ${pccard_enable} in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${pccard_beep}" ] ; then
|
||||
pccardc beep ${pccard_beep}
|
||||
fi
|
||||
|
||||
if [ -n "${pccard_conf}" ]; then
|
||||
pccardd_flags="${pccardd_flags} -f ${pccard_conf}"
|
||||
fi
|
||||
|
@ -13,6 +13,10 @@ case ${pccard_enable} in
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${pccard_beep}" ] ; then
|
||||
pccardc beep ${pccard_beep}
|
||||
fi
|
||||
|
||||
if [ -n "${pccard_conf}" ]; then
|
||||
pccardd_flags="${pccardd_flags} -f ${pccard_conf}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user