diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-10-08 08:56:01 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-10-08 08:56:01 +0000 |
commit | 0e8380df1f1ed7f15bb02d3b44decb044266a1c7 (patch) | |
tree | b21a4a819ca9c0934b9caf503b8bd3c913225788 /etc/rc.d/atm1 | |
parent | c5a5d65bf8133d6508299e3975540aaf713df309 (diff) | |
download | src-0e8380df1f1ed7f15bb02d3b44decb044266a1c7.tar.gz src-0e8380df1f1ed7f15bb02d3b44decb044266a1c7.zip |
Notes
Diffstat (limited to 'etc/rc.d/atm1')
-rw-r--r-- | etc/rc.d/atm1 | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/etc/rc.d/atm1 b/etc/rc.d/atm1 index 42854c0530fe..2f807ebd1020 100644 --- a/etc/rc.d/atm1 +++ b/etc/rc.d/atm1 @@ -10,10 +10,8 @@ # N.B. /usr is not mounted. # atm_pass1() { - # Locate all probed ATM adapters by scanning dmesg output - saveifs="${IFS}" - IFS=$IFS: - atmdev=`dmesg | while read dev junk; do + # Locate all probed ATM adapters + atmdev=`atm sh stat int | while read dev junk; do case ${dev} in hea[0-9]|hea[0-9][0-9]) echo "${dev} " @@ -26,7 +24,6 @@ atm_pass1() { ;; esac done` - IFS="${saveifs}" if [ -z "${atmdev}" ]; then echo "No ATM adapters found." |