diff options
author | ru <ru@FreeBSD.org> | 2004-04-28 09:09:27 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-04-28 09:09:27 +0000 |
commit | cb5b33962a02c8d84de1cbf2cf894d5f8399807c (patch) | |
tree | 8a431999f2a76a3d266e251e272228964edfb951 /etc/rc.d/resolv | |
parent | 0de7ed8edec107472961f7083a442fabaf962040 (diff) | |
download | FreeBSD-src-cb5b33962a02c8d84de1cbf2cf894d5f8399807c.zip FreeBSD-src-cb5b33962a02c8d84de1cbf2cf894d5f8399807c.tar.gz |
Replace shell's positional parameters safely.
Diffstat (limited to 'etc/rc.d/resolv')
-rw-r--r-- | etc/rc.d/resolv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv index 84837f9..597e82a 100644 --- a/etc/rc.d/resolv +++ b/etc/rc.d/resolv @@ -48,7 +48,7 @@ if [ ! -e /etc/resolv.conf -a \ echo domain `/bin/kenv dhcp.domain-name` > /etc/resolv.conf fi - set `/bin/kenv dhcp.domain-name-servers` + set -- `/bin/kenv dhcp.domain-name-servers` for ns in `IFS=','; echo $*`; do echo nameserver $ns >> /etc/resolv.conf; done |