udhcpc problem

Denis Vlasenko vda.linux at googlemail.com
Thu Jun 21 13:42:37 UTC 2007


On Tuesday 19 June 2007 04:17, Bin Chen wrote:
> 
>         Hi,
>         
>         When the udhcpc is started, it begins to broadcast the DHCP
>         discover
>         message. Can I pass some arguments to udhcpc to let it just
>         reside in
>         memory but not do any action until I tell it to do using signal
>         SIGUSR1
>         or SIGUSR2?

#!/bin/sh
trap "exec udhcpc ...." USR1
echo $$
while true; do
    sleep 99 &
    wait
done

--
vda



More information about the busybox mailing list