|
|
@@ -1578,12 +1578,12 @@ static int net_check(void)
|
|
|
r = get_ipaddr(AF_INET, DFLT_NIC, ipaddr, mask);
|
|
|
if(r) {
|
|
|
if(net4.mode==IP_DHCP) {
|
|
|
-#if 0
|
|
|
- pid = get_pid("udhcpc");
|
|
|
- printf("___udhcpc pid: %d\n", pid);
|
|
|
- if(pid>=0) {
|
|
|
- kill(pid, SIGUSR2);
|
|
|
- }
|
|
|
+#if(CHIP_TYPE == CHIP_T113s)
|
|
|
+ // pid = get_pid("udhcpc");
|
|
|
+ // printf("___udhcpc pid: %d\n", pid);
|
|
|
+ // if(pid>=0) {
|
|
|
+ // kill(pid, SIGUSR2);
|
|
|
+ // }
|
|
|
#else
|
|
|
set_dhcp(1);
|
|
|
#endif
|