All pastes #254208 Raw Edit

Stuff

public text v1 · immutable
#254208 ·published 2006-11-21 16:51 UTC
rendered paste body
Index: base-files/default/etc/init.d/rcS
===================================================================
--- base-files/default/etc/init.d/rcS   (revision 5604)
+++ base-files/default/etc/init.d/rcS   (working copy)
@@ -1,6 +1,6 @@
 #!/bin/sh
 syslog_ip=$(nvram get log_ipaddr)
-eval $(ipcalc "$syslog_ip")
+eval $(ipcalc.sh "$syslog_ip")
 [ "$syslog_ip" = "$IP" ] || syslog_ip=""
 syslogd -C 16 ${syslog_ip:+-L -R $syslog_ip}
 klogd
Index: dnsmasq/files/S60dnsmasq
===================================================================
--- dnsmasq/files/S60dnsmasq    (revision 5604)
+++ dnsmasq/files/S60dnsmasq    (working copy)
@@ -18,7 +18,7 @@
     start=$(nvram get dhcp_start)
       num=$(nvram get dhcp_num)

-  eval $(ipcalc $ipaddr $netmask ${start:-100} ${num:-150})
+  eval $(ipcalc.sh $ipaddr $netmask ${start:-100} ${num:-150})
   lease=$(nvram get dhcp_lease)

   # and pass the args via the commandline