]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fix multiple search domains with proper quoting (thanks dcbw)
authorWarren Togami <wtogami@redhat.com>
Thu, 23 Jul 2009 18:31:58 +0000 (14:31 -0400)
committerWarren Togami <wtogami@redhat.com>
Thu, 23 Jul 2009 18:31:58 +0000 (14:31 -0400)
Otherwise \032 appears instead of spaces.

modules.d/40network/dhclient-script

index 5b36a40dc0cb11c3f666882ce7ee1e3e42f68608..280547af531b903d20224682273885eac4facd8b 100755 (executable)
@@ -7,7 +7,7 @@ setup_interface() {
     bcast=$new_broadcast_address
     gw=${new_routers%%,*}
     domain=$new_domain_name
-    search=$new_domain_search
+    search="$new_domain_search"
     namesrv=$new_domain_name_servers
     hostname=$new_host_name