diff options
-rw-r--r-- | networking/udhcp/dhcpc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index 5c8b0d3..d18a963 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -297,6 +297,7 @@ int udhcpc_main(int argc, char *argv[]) timeout = now + ((packet_num == 2) ? 4 : 2); packet_num++; } else { + run_script(NULL, "leasefail"); if (client_config.background_if_no_lease) { LOG(LOG_INFO, "No lease, forking to background."); client_background(); |