diff options
author | jhb <jhb@FreeBSD.org> | 2001-03-04 17:34:37 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-03-04 17:34:37 +0000 |
commit | 63aba295dc6951c6ccd338494e8526f1594a507c (patch) | |
tree | 6dedd8c889267e4b8e7ab8957b2b1a139f440e2b /etc/rc.d/pccard | |
parent | 351944801ba77aa1deee73ae14da360c0c128951 (diff) | |
download | FreeBSD-src-63aba295dc6951c6ccd338494e8526f1594a507c.zip FreeBSD-src-63aba295dc6951c6ccd338494e8526f1594a507c.tar.gz |
Alter the pccard setup a bit so that it looks prettier by redirecting
pccardc's stdout to /dev/null and outputting short messages on succesful
completion instead much like other rc scripts.
Reviewed by: imp
Diffstat (limited to 'etc/rc.d/pccard')
-rw-r--r-- | etc/rc.d/pccard | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.d/pccard b/etc/rc.d/pccard index 45c6cc6..9152e82 100644 --- a/etc/rc.d/pccard +++ b/etc/rc.d/pccard @@ -31,26 +31,26 @@ case ${pccard_enable} in [Yy][Ee][Ss]) - echo -n 'Enable PC-card:' + echo -n 'Setup PC-CARD:' case ${pccard_mem} in [Dd][Ee][Ff][Aa][Uu][Ll][Tt]) - pccardc pccardmem 0xd0000 + pccardc pccardmem 0xd0000 1>/dev/null && echo -n ' memory' ;; *) - pccardc pccardmem ${pccard_mem} + pccardc pccardmem ${pccard_mem} 1>/dev/null && echo -n ' memory' ;; esac if [ -n "${pccard_beep}" ] ; then - pccardc beep ${pccard_beep} + pccardc beep ${pccard_beep} && echo -n ' beep' fi if [ -n "${pccard_conf}" ]; then pccardd_flags="${pccardd_flags} -f ${pccard_conf}" fi - pccardd ${pccardd_flags} 2>&1 > /var/log/pccardd.debug + pccardd ${pccardd_flags} && echo -n ' pccardd' echo '.' ;; esac |