Fix `/etc/rc.d/dhclient stop' by explicitly returning 0, otherwise
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sat, 3 Jun 2006 10:41:26 +0000 (10:41 +0000)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sat, 3 Jun 2006 10:41:26 +0000 (10:41 +0000)
commitfa1e9e43cd638619076d31a93df038296273334f
treea9f4b22209f6e189a017fe939709492382c6bb48
parentb1c5843ab02ca44e6976b25ca25b9f94722b00b6
Fix `/etc/rc.d/dhclient stop' by explicitly returning 0, otherwise
the exit code from dhclient_prestop() will inherit the one from
ifalias_down().  Shell functions ipx_down() and ifalias_down()
return false(non-zero) when no IPX addresses or IP aliases are found,
but it shouldn't prevent dhclient from releasing the lease.
etc/rc.d/dhclient