summaryrefslogtreecommitdiffstats
path: root/urunlevel/runlevel/runlevel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'urunlevel/runlevel/runlevel.patch')
-rw-r--r--urunlevel/runlevel/runlevel.patch533
1 files changed, 533 insertions, 0 deletions
diff --git a/urunlevel/runlevel/runlevel.patch b/urunlevel/runlevel/runlevel.patch
new file mode 100644
index 0000000..c000944
--- /dev/null
+++ b/urunlevel/runlevel/runlevel.patch
@@ -0,0 +1,533 @@
1diff -urNX busybox-1.00/runlevel/diff_excludes busybox-1.00-original/Makefile busybox-1.00/Makefile
2--- busybox-1.00-original/Makefile 2004-10-08 17:45:08.000000000 +1000
3+++ busybox-1.00/Makefile 2005-03-12 00:58:35.000000000 +1000
4@@ -40,9 +40,9 @@
5 include $(top_builddir)/Rules.mak
6
7 DIRS:=applets archival archival/libunarchive coreutils console-tools \
8- debianutils editors findutils init miscutils modutils networking \
9+ debianutils editors findutils init miscutils modutils my_linux networking \
10 networking/libiproute networking/udhcp procps loginutils shell \
11- sysklogd util-linux libpwdgrp coreutils/libcoreutils libbb
12+ sysklogd runlevel util-linux libpwdgrp coreutils/libcoreutils libbb
13
14 SRC_DIRS:=$(patsubst %,$(top_srcdir)/%,$(DIRS))
15
16diff -urNX busybox-1.00/runlevel/diff_excludes busybox-1.00-original/include/applets.h busybox-1.00/include/applets.h
17--- busybox-1.00-original/include/applets.h 2004-08-27 09:01:34.000000000 +1000
18+++ busybox-1.00/include/applets.h 2005-03-14 09:37:26.000000000 +1000
19@@ -75,6 +75,18 @@
20 #ifdef CONFIG_BASENAME
21 APPLET(basename, basename_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
22 #endif
23+#ifdef CONFIG_BOOT_NAMED
24+ APPLET(boot_named, boot_named_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
25+#endif
26+#ifdef CONFIG_BOOT_PORTMAP
27+ APPLET(boot_portmap, boot_portmap_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
28+#endif
29+#ifdef CONFIG_BOOT_SYSLOG
30+ APPLET(boot_syslog, boot_syslog_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
31+#endif
32+#ifdef CONFIG_BOOT_TIME
33+ APPLET(boot_time, boot_time_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
34+#endif
35 #ifdef CONFIG_BUNZIP2
36 APPLET(bunzip2, bunzip2_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
37 #endif
38@@ -226,6 +238,9 @@
39 #ifdef CONFIG_GETOPT
40 APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER)
41 #endif
42+#ifdef CONFIG_GETPKG
43+ APPLET(getpkg, getpkg_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
44+#endif
45 #ifdef CONFIG_GETTY
46 APPLET(getty, getty_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
47 #endif
48@@ -289,6 +304,9 @@
49 #ifdef CONFIG_INSTALL
50 APPLET(install, install_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
51 #endif
52+#ifdef CONFIG_INSTALL_INITD
53+ APPLET(install_initd, install_initd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
54+#endif
55 #ifdef CONFIG_IP
56 APPLET(ip, ip_main, _BB_DIR_BIN, _BB_SUID_NEVER)
57 #endif
58@@ -313,6 +331,9 @@
59 #ifdef CONFIG_KILLALL
60 APPLET(killall, kill_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
61 #endif
62+#ifdef CONFIG_KILLPROC
63+ APPLET(killproc, killproc_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
64+#endif
65 #ifdef CONFIG_KLOGD
66 APPLET(klogd, klogd_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
67 #endif
68@@ -328,6 +349,9 @@
69 #ifdef CONFIG_FEATURE_INITRD
70 APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT, _BB_SUID_NEVER)
71 #endif
72+#ifdef CONFIG_LINUXRC
73+ APPLET(linuxrc, linuxrc_main, _BB_DIR_ROOT, _BB_SUID_NEVER)
74+#endif
75 #ifdef CONFIG_LN
76 APPLET(ln, ln_main, _BB_DIR_BIN, _BB_SUID_NEVER)
77 #endif
78@@ -337,6 +361,18 @@
79 #ifdef CONFIG_LOADKMAP
80 APPLET(loadkmap, loadkmap_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
81 #endif
82+#ifdef CONFIG_LOCAL_FS
83+ APPLET(local_fs, local_fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
84+#endif
85+#ifdef CONFIG_LOG_FAILURE_MSG
86+ APPLET(log_failure_msg, log_failure_msg_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
87+#endif
88+#ifdef CONFIG_LOG_SUCCESS_MSG
89+ APPLET(log_success_msg, log_success_msg_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
90+#endif
91+#ifdef CONFIG_LOG_WARNING_MSG
92+ APPLET(log_warning_msg, log_warning_msg_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
93+#endif
94 #ifdef CONFIG_LOGGER
95 APPLET(logger, logger_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
96 #endif
97@@ -361,6 +397,9 @@
98 #ifdef CONFIG_MAKEDEVS
99 APPLET(makedevs, makedevs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
100 #endif
101+#ifdef CONFIG_MAN
102+ APPLET(man, man_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
103+#endif
104 #ifdef CONFIG_MD5SUM
105 APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
106 #endif
107@@ -379,6 +418,9 @@
108 #ifdef CONFIG_MKNOD
109 APPLET(mknod, mknod_main, _BB_DIR_BIN, _BB_SUID_NEVER)
110 #endif
111+#ifdef CONFIG_MKROOTFS
112+ APPLET(mkrootfs, mkrootfs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
113+#endif
114 #ifdef CONFIG_MKSWAP
115 APPLET(mkswap, mkswap_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
116 #endif
117@@ -412,6 +454,9 @@
118 #ifdef CONFIG_NETSTAT
119 APPLET(netstat, netstat_main, _BB_DIR_BIN, _BB_SUID_NEVER)
120 #endif
121+#ifdef CONFIG_NETWORK
122+ APPLET(network, network_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
123+#endif
124 #ifdef CONFIG_NSLOOKUP
125 APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
126 #endif
127@@ -430,6 +475,9 @@
128 #ifdef CONFIG_PIDOF
129 APPLET(pidof, pidof_main, _BB_DIR_BIN, _BB_SUID_NEVER)
130 #endif
131+#ifdef CONFIG_PIDOFPROC
132+ APPLET(pidofproc, pidofproc_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
133+#endif
134 #ifdef CONFIG_PING
135 APPLET(ping, ping_main, _BB_DIR_BIN, _BB_SUID_MAYBE)
136 #endif
137@@ -454,6 +502,12 @@
138 #ifdef CONFIG_PWD
139 APPLET(pwd, pwd_main, _BB_DIR_BIN, _BB_SUID_NEVER)
140 #endif
141+#ifdef CONFIG_RC
142+ APPLET(rc, rc_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
143+#endif
144+#ifdef CONFIG_RCS
145+ APPLET(rcS, rcS_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
146+#endif
147 #ifdef CONFIG_RDATE
148 APPLET(rdate, rdate_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
149 #endif
150@@ -466,6 +520,12 @@
151 #ifdef CONFIG_REBOOT
152 APPLET(reboot, reboot_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
153 #endif
154+#ifdef CONFIG_REMOTE_FS
155+ APPLET(remote_fs, remote_fs_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
156+#endif
157+#ifdef CONFIG_REMOVE_INITD
158+ APPLET(remove_initd, remove_initd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
159+#endif
160 #ifdef CONFIG_RENICE
161 APPLET(renice, renice_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
162 #endif
163@@ -526,6 +586,9 @@
164 #ifdef CONFIG_START_STOP_DAEMON
165 APPLET_ODDNAME("start-stop-daemon", start_stop_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER, start_stop_daemon)
166 #endif
167+#ifdef CONFIG_START_DAEMON
168+ APPLET(start_daemon, start_daemon_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
169+#endif
170 #ifdef CONFIG_STRINGS
171 APPLET(strings, strings_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
172 #endif
173@@ -598,6 +661,9 @@
174 #ifdef CONFIG_UDHCPC
175 APPLET(udhcpc, udhcpc_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
176 #endif
177+#ifdef CONFIG_UDHCPC_SCRIPT
178+ APPLET(udhcpc_script, udhcpc_script_main, _BB_DIR_SBIN, _BB_SUID_NEVER)
179+#endif
180 #ifdef CONFIG_UDHCPD
181 APPLET(udhcpd, udhcpd_main, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)
182 #endif
183diff -urNX busybox-1.00/runlevel/diff_excludes busybox-1.00-original/include/usage.h busybox-1.00/include/usage.h
184--- busybox-1.00-original/include/usage.h 2004-09-15 02:23:56.000000000 +1000
185+++ busybox-1.00/include/usage.h 2005-03-14 09:37:34.000000000 +1000
186@@ -89,6 +89,43 @@
187 "$ basename /foo/bar.txt .txt\n" \
188 "bar"
189
190+
191+#define boot_named_trivial_usage \
192+ "start | stop | restart | try-restart | reload | force-reload | status | info"
193+#define boot_named_full_usage \
194+ "LSB compliant named init.d script."
195+#define boot_named_example_usage \
196+ "$ boot_named start\n" \
197+ "Start boot_named ... OK\n"
198+
199+
200+#define boot_portmap_trivial_usage \
201+ "start | stop | restart | try-restart | reload | force-reload | status | info"
202+#define boot_portmap_full_usage \
203+ "LSB compliant portmap init.d script."
204+#define boot_portmap_example_usage \
205+ "$ boot_portmap start\n" \
206+ "Start boot_portmap ... OK\n"
207+
208+
209+#define boot_syslog_trivial_usage \
210+ "start | stop | restart | try-restart | reload | force-reload | status | info"
211+#define boot_syslog_full_usage \
212+ "LSB compliant syslog init.d script."
213+#define boot_syslog_example_usage \
214+ "$ boot_syslog start\n" \
215+ "Start boot_syslog ... OK\n"
216+
217+
218+#define boot_time_trivial_usage \
219+ "start | stop | restart | try-restart | reload | force-reload | status | info"
220+#define boot_time_full_usage \
221+ "LSB compliant time init.d script."
222+#define boot_time_example_usage \
223+ "$ boot_time start\n" \
224+ "Start boot_time ... OK\n"
225+
226+
227 #define bunzip2_trivial_usage \
228 "[OPTION]... [FILE]"
229 #define bunzip2_full_usage \
230@@ -768,6 +805,23 @@
231 " esac\n" \
232 "done\n"
233
234+
235+#define getpkg_trivial_usage \
236+ "[-afk] [PACKAGE] {[URL] | [DIR]}"
237+#define getpkg_full_usage \
238+ "Install a Trinux PACKAGE from a FILE or an URL ." \
239+ "\t-a,\t\tget all packages\n" \
240+ "\t-f,\t\tpackage file, no need to download\n" \
241+ "\t-k,\t\tkernel package"
242+#define getpkg_example_usage \
243+ "$ getpkg\n" \
244+ "$ getpkg -a\n" \
245+ "$ getpkg -f name\n" \
246+ "$ getpkg -fk name /media/cdrom/trinux/pkg\n" \
247+ "$ getpkg -k name\n" \
248+ "$ getpkg name http://www.trinux.org/pkg/\n"
249+
250+
251 #define getty_trivial_usage \
252 "[OPTIONS]... baud_rate,... line [termtype]"
253 #define getty_full_usage \
254@@ -1299,6 +1353,15 @@
255 "\t-p\tpreserve date\n" \
256 "\t-s\tstrip symbol tables"
257
258+
259+#define install_initd_trivial_usage \
260+ "FILE"
261+#define install_initd_full_usage \
262+ "LSB compliant install_initd init.d script installer."
263+#define install_initd_example_usage \
264+ "$ install_initd /etc/init.d/init_script\n"
265+
266+
267 #define ip_trivial_usage \
268 "[ OPTIONS ] { address | link | route | tunnel } { COMMAND | help }"
269 #define ip_full_usage \
270@@ -1391,6 +1454,16 @@
271 #define killall_example_usage \
272 "$ killall apache\n"
273
274+#define killproc_trivial_usage \
275+ "[OPTION] COMMAND [SIGNAL]"
276+#define killproc_full_usage \
277+ "LSB compliant killproc daemon killer." \
278+ "\n\nOptions:"\
279+ "\n\t-p <pid-file>\t\t\tload pid using a pid-file"
280+#define killproc_example_usage \
281+ "$ killproc daemon_proggy\n"
282+
283+
284 #define klogd_trivial_usage \
285 "[-c n] [-n]"
286 #define klogd_full_usage \
287@@ -1407,6 +1480,14 @@
288 "$ length Hello\n" \
289 "5\n"
290
291+#define linuxrc_trivial_usage \
292+ ""
293+#define linuxrc_full_usage \
294+ "linuxrc pre boot."
295+#define linuxrc_example_usage \
296+ "$ linuxrc\n"
297+
298+
299 #define ln_trivial_usage \
300 "[OPTION] TARGET... LINK_NAME|DIRECTORY"
301 #define ln_full_usage \
302@@ -1435,6 +1516,39 @@
303 #define loadkmap_example_usage \
304 "$ loadkmap < /etc/i18n/lang-keymap\n"
305
306+#define local_fs_trivial_usage \
307+ "start | stop | restart | try-restart | reload | force-reload | status | info"
308+#define local_fs_full_usage \
309+ "LSB compliant local_fs init.d script."
310+#define local_fs_example_usage \
311+ "$ local_fs start\n" \
312+ "Start local_fs ... OK\n"
313+
314+
315+#define log_failure_msg_trivial_usage \
316+ "MESSAGE"
317+#define log_failure_msg_full_usage \
318+ "LSB compliant log_failure_msg."
319+#define log_failure_msg_example_usage \
320+ "$ log_failure_msg "It be broke!"\n"
321+
322+
323+#define log_success_msg_trivial_usage \
324+ "MESSAGE"
325+#define log_success_msg_full_usage \
326+ "LSB compliant log_success_msg."
327+#define log_success_msg_example_usage \
328+ "$ log_success_msg "It worked."\n"
329+
330+
331+#define log_warning_msg_trivial_usage \
332+ "MESSAGE"
333+#define log_warning_msg_full_usage \
334+ "LSB compliant log_warning_msg."
335+#define log_warning_msg_example_usage \
336+ "$ log_warning_msg "It might be broke."\n"
337+
338+
339 #define logger_trivial_usage \
340 "[OPTION]... [MESSAGE]"
341 #define logger_full_usage \
342@@ -1570,6 +1684,14 @@
343 "# makedevs /dev/hda b 3 0 0 8 s\n" \
344 "[creates hda,hda1-hda8]\n"
345
346+#define man_trivial_usage \
347+ "[NAME]"
348+#define man_full_usage \
349+ "Show documentation for Trinux software."
350+#define man_example_usage \
351+ "$ man basics\n"
352+
353+
354 #ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
355 #define USAGE_MD5_SHA1_SUM_CHECK(a) a
356 #else
357@@ -1652,6 +1774,15 @@
358 "$ mknod /dev/fd0 b 2 0\n" \
359 "$ mknod -m 644 /tmp/pipe p\n"
360
361+
362+#define mkrootfs_trivial_usage \
363+ "[-c filename] [PATH]"
364+#define mkrootfs_full_usage \
365+ "Creates all the directories, devices, files, and links needed for a root file system."
366+#define mkrootfs_example_usage \
367+ "$ mkrootfs /\n"
368+
369+
370 #define mkswap_trivial_usage \
371 "[-c] [-v0|-v1] device [block-count]"
372 #define mkswap_full_usage \
373@@ -1813,6 +1944,16 @@
374 "\t-w raw sockets\n" \
375 "\t-x unix sockets"
376
377+
378+#define network_trivial_usage \
379+ "start | stop | restart | try-restart | reload | force-reload | status | info"
380+#define network_full_usage \
381+ "LSB compliant network init.d script."
382+#define network_example_usage \
383+ "$ network start\n" \
384+ "Start network ... OK\n"
385+
386+
387 #define nslookup_trivial_usage \
388 "[HOST] [SERVER]"
389 #define nslookup_full_usage \
390@@ -1875,6 +2016,16 @@
391 "$ pidof init\n" \
392 "1\n"
393
394+#define pidofproc_trivial_usage \
395+ "[OPTION] COMMAND"
396+#define pidofproc_full_usage \
397+ "LSB compliant pidofproc daemon checker." \
398+ "\n\nOptions:"\
399+ "\n\t-p <pid-file>\t\t\tsave or load pid using a pid-file"
400+#define pidofproc_example_usage \
401+ "$ pidofproc daemon_proggy\n"
402+
403+
404 #ifndef CONFIG_FEATURE_FANCY_PING
405 #define ping_trivial_usage "host"
406 #define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts"
407@@ -1977,6 +2128,33 @@
408 "$ pwd\n" \
409 "/root\n"
410
411+#define rc_trivial_usage \
412+ "[RUNLEVEL] | COMMAND [start | stop | restart | try-restart | reload | force-reload | status | info] [OPTIONS]"
413+#define rc_full_usage \
414+ "LSB compliant runlevel controller."
415+#define rc_example_usage \
416+ "$ rc\n" \
417+ "$ rc 5\n" \
418+ "$ rc network start\n" \
419+ "Start network ... OK\n" \
420+ "$ rc network --runlevels\n" \
421+ "3 4 5\n" \
422+ "$ rc network --runlevels -v\n" \
423+ "The \"network\" service will be active during these runlevels :\n" \
424+ "3 - multi user with network.\n" \
425+ "4 - multi user with network and twin.\n" \
426+ "5 - multi user with networkand X.\n" \
427+ "$ rc network --runlevels 3 4 5\n"
428+
429+
430+#define rcS_trivial_usage \
431+ ""
432+#define rcS_full_usage \
433+ "sysinit for inittab."
434+#define rcS_example_usage \
435+ "$ rcS\n"
436+
437+
438 #define rdate_trivial_usage \
439 "[-sp] HOST"
440 #define rdate_full_usage \
441@@ -2002,6 +2180,23 @@
442 "Options:\n" \
443 "\t-d\t\tdelay interval for rebooting."
444
445+#define remote_fs_trivial_usage \
446+ "start | stop | restart | try-restart | reload | force-reload | status | info"
447+#define remote_fs_full_usage \
448+ "LSB compliant remote_fs init.d script."
449+#define remote_fs_example_usage \
450+ "$ remote_fs start\n" \
451+ "Start remote_fs ... OK\n"
452+
453+
454+#define remove_initd_trivial_usage \
455+ "FILE"
456+#define remove_initd_full_usage \
457+ "LSB compliant remove_initd init.d script removal."
458+#define remove_initd_example_usage \
459+ "$ remove_initd /etc/init.d/init_script\n"
460+
461+
462 #define renice_trivial_usage \
463 "priority pid [pid ...]"
464 #define renice_full_usage \
465@@ -2212,6 +2407,18 @@
466 "e\n" \
467 "f\n"
468
469+#define start_daemon_trivial_usage \
470+ "[OPTIONS]... COMMAND [ARGS...]"
471+#define start_daemon_full_usage \
472+ "LSB compliant start_daemon daemon starter."\
473+ "\n\nOptions:"\
474+ "\n\t-f\t\t\tforce a start if already running"\
475+ "\n\t-n <nicelevel>\t\t\tnice level"\
476+ "\n\t-p <pid-file>\t\t\tsave or load pid using a pid-file"
477+#define start_daemon_example_usage \
478+ "$ start_daemon -p /var/run/daemon_proggy.pid daemon_proggy --foo blah\n"
479+
480+
481 #define start_stop_daemon_trivial_usage \
482 "[OPTIONS] [--start|--stop] ... [-- arguments...]\n"
483 #define start_stop_daemon_full_usage \
484@@ -2625,6 +2832,11 @@
485 "\t-s,\t--script=file\tRun file at dhcp events (default: /usr/share/udhcpc/default.script)\n" \
486 "\t-v,\t--version\tDisplay version"
487
488+#define udhcpc_script_trivial_usage \
489+ "[ACTION]"
490+#define udhcpc_script_full_usage \
491+ "Should only be called by udhcpc."
492+
493 #define udhcpd_trivial_usage \
494 "[configfile]\n" \
495
496diff -urNX busybox-1.00/runlevel/diff_excludes busybox-1.00-original/networking/udhcp/dhcpc.h busybox-1.00/networking/udhcp/dhcpc.h
497--- busybox-1.00-original/networking/udhcp/dhcpc.h 2004-01-31 09:45:12.000000000 +1000
498+++ busybox-1.00/networking/udhcp/dhcpc.h 2005-03-12 04:12:30.000000000 +1000
499@@ -2,7 +2,8 @@
500 #ifndef _DHCPC_H
501 #define _DHCPC_H
502
503-#define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script"
504+//#define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script"
505+#define DEFAULT_SCRIPT "/sbin/udhcpc_script"
506
507 /* allow libbb_udhcp.h to redefine DEFAULT_SCRIPT */
508 #include "libbb_udhcp.h"
509diff -urNX busybox-1.00/runlevel/diff_excludes busybox-1.00-original/networking/udhcp/libbb_udhcp.h busybox-1.00/networking/udhcp/libbb_udhcp.h
510--- busybox-1.00-original/networking/udhcp/libbb_udhcp.h 2004-05-19 19:18:04.000000000 +1000
511+++ busybox-1.00/networking/udhcp/libbb_udhcp.h 2005-03-12 04:07:27.000000000 +1000
512@@ -5,7 +5,8 @@
513
514 #ifdef CONFIG_INSTALL_NO_USR
515 #undef DEFAULT_SCRIPT
516-#define DEFAULT_SCRIPT "/share/udhcpc/default.script"
517+//#define DEFAULT_SCRIPT "/share/udhcpc/default.script"
518+#define DEFAULT_SCRIPT "/sbin/udhcpc_script"
519 #endif
520
521 #ifndef _LIBBB_UDHCP_H
522diff -urNX busybox-1.00/runlevel/diff_excludes busybox-1.00-original/sysdeps/linux/Config.in busybox-1.00/sysdeps/linux/Config.in
523--- busybox-1.00-original/sysdeps/linux/Config.in 2004-05-25 21:30:22.000000000 +1000
524+++ busybox-1.00/sysdeps/linux/Config.in 2005-03-12 00:47:43.000000000 +1000
525@@ -223,6 +223,8 @@
526 source debianutils/Config.in
527 source editors/Config.in
528 source findutils/Config.in
529+source my_linux/Config.in
530+source runlevel/Config.in
531 source init/Config.in
532 source loginutils/Config.in
533 source miscutils/Config.in