1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +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:
Warner Losh 1999-12-02 19:48:16 +00:00
parent 03599baeb2
commit b11b638301
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54041
3 changed files with 9 additions and 0 deletions

View File

@ -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

View 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

View 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