The new dhclient will go to the background automatically so there's no
authorSascha Wildner <swildner@dragonflybsd.org>
Sat, 30 Aug 2008 21:21:40 +0000 (21:21 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sat, 30 Aug 2008 21:21:40 +0000 (21:21 +0000)
need to provide for background_dhclient etc. rc variables.

etc/rc.d/dhclient

index 967914e..4e097c2 100644 (file)
@@ -2,7 +2,7 @@
 #
 # $NetBSD: dhclient,v 1.8 2002/03/22 04:33:58 thorpej Exp $
 # $FreeBSD: src/etc/rc.d/dhclient,v 1.20.2.4 2007/03/10 14:07:01 yar Exp $
-# $DragonFly: src/etc/rc.d/dhclient,v 1.10 2007/07/10 22:36:01 swildner Exp $
+# $DragonFly: src/etc/rc.d/dhclient,v 1.11 2008/08/30 21:21:40 swildner Exp $
 #
 
 # PROVIDE: dhclient
@@ -34,15 +34,6 @@ dhclient_start()
                rc_flags=$specific
        fi
 
-#      eval specific=\$background_dhclient_$ifn
-#      if [ -n "$specific" ]; then
-#              if checkyesno background_dhclient_$ifn; then
-#                      rc_flags="${rc_flags} -b"
-#              fi
-#      elif checkyesno background_dhclient; then
-#              rc_flags="${rc_flags} -b"
-#      fi
-
        ${dhclient_program} ${rc_flags} $ifn
 }