dash compatible substitution
authorDavid Dillow <dave@thedillows.org>
Fri, 24 Jul 2009 03:16:31 +0000 (23:16 -0400)
committerWarren Togami <wtogami@redhat.com>
Fri, 24 Jul 2009 03:16:31 +0000 (23:16 -0400)
modules.d/40network/dhclient-script

index 142095d..1ef239a 100755 (executable)
@@ -7,7 +7,7 @@ setup_interface() {
     bcast=$new_broadcast_address
     gw=${new_routers%%,*}
     domain=$new_domain_name
-    search="${new_domain_search//\\032/ }"
+    search=$(printf "$new_domain_search")
     namesrv=$new_domain_name_servers
     hostname=$new_host_name