]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix syntax.
authorRoy Marples <roy@marples.name>
Mon, 11 Oct 2010 16:34:39 +0000 (16:34 +0000)
committerRoy Marples <roy@marples.name>
Mon, 11 Oct 2010 16:34:39 +0000 (16:34 +0000)
dhcpcd-hooks/50-ypbind

index 780bbc1f0f944f68e01b4c5b83077b3df337d285..ffa64c412f4dcfb5d3de1b2b6d46563c7f92e349 100644 (file)
@@ -65,7 +65,7 @@ restore_yp_binding()
 
 if [ "$reason" = PREINIT ]; then
        rm -f "$ypbind_dir/$interface"
-else if $if_up || $if_down; then
+elif $if_up || $if_down; then
        if [ -n "$new_nis_domain" ]; then
                make_yp_binding
        elif [ -n "$old_nis_domain" ]; then