oweals/busybox.git
20 years agoDont change ownership unless we created the directory.
Glenn L McGrath [Fri, 23 Jan 2004 20:28:53 +0000 (20:28 -0000)]
Dont change ownership unless we created the directory.

20 years agoRemove unneeded conditions and logic, fix bug where ownership didnt
Glenn L McGrath [Fri, 23 Jan 2004 10:57:00 +0000 (10:57 -0000)]
Remove unneeded conditions and logic, fix bug where ownership didnt
change.
Dont use bb_make_directory it doesnt have the features, and its ugly to
work around it.

20 years agolast_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debian
Glenn L McGrath [Thu, 22 Jan 2004 12:42:23 +0000 (12:42 -0000)]
last_patch_124 from Vodz, fix an ash bug when alt-1 was pressed, debian
bug #228915

20 years agoCheck one and only one of start, stop are given.
Glenn L McGrath [Thu, 22 Jan 2004 09:04:58 +0000 (09:04 -0000)]
Check one and only one of start, stop are given.
Remove some global variables.
#define some getopt values.

20 years agoVodz, last_patch_123, patch have new version getopt_ulflags.
Glenn L McGrath [Thu, 22 Jan 2004 07:10:13 +0000 (07:10 -0000)]
Vodz, last_patch_123, patch have new version getopt_ulflags.
- size reduced 34 bytes
- don`t use dynamic memory allocation
- small indent correction.

20 years agoPatch from Atsushi Nemoto, recent MIPS kernel headers
Glenn L McGrath [Wed, 21 Jan 2004 11:36:44 +0000 (11:36 -0000)]
Patch from Atsushi Nemoto, recent MIPS kernel headers
does not provide PAGE_SHIFT for userland (because now mips-linux kernel
supports PAGESIZE other than 4K).

20 years agoPatch by Richard Kojedzinszky, when using END at end of lines it was
Glenn L McGrath [Wed, 21 Jan 2004 10:59:45 +0000 (10:59 -0000)]
Patch by Richard Kojedzinszky, when using END at end of lines it was
 skipping to next line, cw command was leaving one char in buffer

20 years agoRedo getconfigent, save 150 bytes, still small memory leak when
Glenn L McGrath [Tue, 20 Jan 2004 15:32:39 +0000 (15:32 -0000)]
Redo getconfigent, save 150 bytes, still small memory leak when
parsing invalid entries.

20 years agoPatch from Tito, reduce size, merge functions that are only used once.
Glenn L McGrath [Tue, 20 Jan 2004 12:57:18 +0000 (12:57 -0000)]
Patch from Tito, reduce size, merge functions that are only used once.

20 years agoStephane Billiart writes:
Eric Andersen [Sun, 18 Jan 2004 18:18:33 +0000 (18:18 -0000)]
Stephane Billiart writes:

bb_lookup_port now takes 3 parameters but rdate has not been modified
accordingly and fails to compile in the current CVS version.
The modification below fixes the problem.

Now, RFC868 allows both UDP and TCP implementations of the time protocol
so this may not work if someone defines a udp time service other than 37
but who would do that?

20 years agoFix up a couple of bugs i introduced in yesterdays cleanup.
Glenn L McGrath [Sun, 18 Jan 2004 08:58:06 +0000 (08:58 -0000)]
Fix up a couple of bugs i introduced in yesterdays cleanup.

20 years agoFix a bug where `ls -le` would print the time twice.
Glenn L McGrath [Sun, 18 Jan 2004 05:41:30 +0000 (05:41 -0000)]
Fix a bug where `ls -le` would print the time twice.

20 years agoUse bb_getopt_ulflags, save 200-300 bytes
Glenn L McGrath [Sun, 18 Jan 2004 05:15:16 +0000 (05:15 -0000)]
Use bb_getopt_ulflags, save 200-300 bytes

20 years agoPatch from Leif Lindholm (slightly modified by me), to fix http
Glenn L McGrath [Sat, 17 Jan 2004 23:07:14 +0000 (23:07 -0000)]
Patch from Leif Lindholm (slightly modified by me), to fix http
redirection.
Example of incorrect behaviour was the following url, busybox wget didnt
get redirected to the busybox url as it should.
http://freshmeat.net/redir/busybox/953/url_homepage/www.busybox.net

20 years agoModify bb_lookup_port to allow the protocol to be specified, allowing
Glenn L McGrath [Sat, 17 Jan 2004 05:03:31 +0000 (05:03 -0000)]
Modify bb_lookup_port to allow the protocol to be specified, allowing
/etc/services support for inetd, netcat and tftp.

20 years agoPatch from Arthur Othieno, clarify common options between dpkg and dpkg-deb
Glenn L McGrath [Sat, 17 Jan 2004 03:24:05 +0000 (03:24 -0000)]
Patch from Arthur Othieno, clarify common options between dpkg and dpkg-deb

20 years agoThe functions setconfig, enter and bump_nofile were only called once, marge them...
Glenn L McGrath [Sat, 17 Jan 2004 03:20:46 +0000 (03:20 -0000)]
The functions setconfig, enter and bump_nofile were only called once, marge them into the calling
function.

20 years agoUse 1 line for function name and return value,
Glenn L McGrath [Sat, 17 Jan 2004 02:47:45 +0000 (02:47 -0000)]
Use 1 line for function name and return value,
remove dofork define/variable,
dont check pid value is < or > than 0 if we know it is 0.

20 years agoRemove some defined statements
Glenn L McGrath [Sat, 17 Jan 2004 01:44:32 +0000 (01:44 -0000)]
Remove some defined statements

20 years agoChanged #define names for common features (superficial)
Glenn L McGrath [Sat, 17 Jan 2004 01:26:53 +0000 (01:26 -0000)]
Changed #define names for common features (superficial)

20 years agoUse bb_get_chomped_line_from_file
Glenn L McGrath [Sat, 17 Jan 2004 00:34:31 +0000 (00:34 -0000)]
Use bb_get_chomped_line_from_file

20 years agoMinor updates from linux 2.6.1
Eric Andersen [Fri, 16 Jan 2004 12:49:06 +0000 (12:49 -0000)]
Minor updates from linux 2.6.1

20 years agoPatch by Tito, reduce size of deallocvt, also make the usage message
Glenn L McGrath [Thu, 15 Jan 2004 11:50:19 +0000 (11:50 -0000)]
Patch by Tito, reduce size of deallocvt, also make the usage message
clearer (from N to [N]) and indirectly (through bb_xgetlarg) adds support
for  -h ;-)

20 years agoVodz last_patch_122, Check $PATH at runtime to fix tab completion
Glenn L McGrath [Wed, 14 Jan 2004 09:34:51 +0000 (09:34 -0000)]
Vodz last_patch_122, Check $PATH at runtime to fix tab completion

20 years agoPatch by Tito, use bb_xgetlarg, reduce size
Glenn L McGrath [Wed, 14 Jan 2004 07:34:37 +0000 (07:34 -0000)]
Patch by Tito, use bb_xgetlarg, reduce size

20 years agoFix a bug where mount could check the wrong device. st_rdev is the correct
Eric Andersen [Tue, 13 Jan 2004 11:39:22 +0000 (11:39 -0000)]
Fix a bug where mount could check the wrong device.  st_rdev is the correct
device ID iff the named file is a character or block special device.  Otherwise
it is meaningless junk, in which case st_dev should be used.  This was done
incorrectly, which could cause mount to display bogus mount info.
 -Erik

20 years agoPatch from Bastian Blank, allow the buildtime to be overriden with a
Glenn L McGrath [Tue, 13 Jan 2004 10:57:32 +0000 (10:57 -0000)]
Patch from Bastian Blank, allow the buildtime to be overriden with a
different string, used by the debian busybox-cvs to specify the debian
date based version number.

20 years agoVodz last_patch_121, syncing with dash_0.4.19, reduce code size.
Glenn L McGrath [Tue, 13 Jan 2004 10:19:37 +0000 (10:19 -0000)]
Vodz last_patch_121, syncing with dash_0.4.19, reduce code size.

20 years agoPatch by Tito, remove some unneeded variables to save some space.
Glenn L McGrath [Tue, 13 Jan 2004 10:12:16 +0000 (10:12 -0000)]
Patch by Tito, remove some unneeded variables to save some space.

20 years agoPatch from Matt Kraai to fix debian bug #227081
Glenn L McGrath [Sun, 11 Jan 2004 05:20:59 +0000 (05:20 -0000)]
Patch from Matt Kraai to fix debian bug #227081

cp does not truncate existing destinations.  That is, after
running

 echo foo > foo
 echo fubar > fubar
 cp foo fubar

the contents of fubar are

 foo
 r

instead of

 foo

20 years agowhitespace cleanup
Eric Andersen [Sat, 10 Jan 2004 11:29:31 +0000 (11:29 -0000)]
whitespace cleanup

20 years agoWoody Suwalski writes:
Eric Andersen [Sat, 10 Jan 2004 11:25:53 +0000 (11:25 -0000)]
Woody Suwalski writes:

I have found the problem in modprobe, so here is the promised patch
At the current stage I can use it as modprobe while switching between
2.4 and 2.6 seemlesly...(that is good!)

20 years agoPatch from Bastian Blank to fix debian bug #226722, test case:
Glenn L McGrath [Thu, 8 Jan 2004 10:51:09 +0000 (10:51 -0000)]
Patch from Bastian Blank to fix debian bug #226722, test case:
 mkdir foo
 touch foo/bar
 ln -s bar foo/baz

20 years agoUse bb_getopt_ulflags, save 100 bytes and strict argument checking.
Glenn L McGrath [Wed, 7 Jan 2004 09:24:06 +0000 (09:24 -0000)]
Use bb_getopt_ulflags, save 100 bytes and strict argument checking.

20 years agoWoody Suwalski writes:
Eric Andersen [Tue, 6 Jan 2004 00:07:17 +0000 (00:07 -0000)]
Woody Suwalski writes:

accept more then 1 dependency per modules.dep line. Also white space cleanup...
I think that parsing still breaks sometimes, but is mostly functional now.

20 years agoFix broken #else
Eric Andersen [Mon, 5 Jan 2004 23:49:37 +0000 (23:49 -0000)]
Fix broken #else

20 years agoUse bb_getopt_ulflags, save 150 bytes.
Glenn L McGrath [Mon, 5 Jan 2004 12:35:05 +0000 (12:35 -0000)]
Use bb_getopt_ulflags, save 150 bytes.

20 years agoUse bb_getopt_ulflags, simplify some logic, saves some bytes.
Glenn L McGrath [Mon, 5 Jan 2004 11:49:55 +0000 (11:49 -0000)]
Use bb_getopt_ulflags, simplify some logic, saves some bytes.

20 years agoFix usage with libraries, skip symbol table.
Glenn L McGrath [Sun, 4 Jan 2004 11:06:34 +0000 (11:06 -0000)]
Fix usage with libraries, skip symbol table.

20 years agoUse bb_getopt_ulflags, saves some space, better argument checking.
Glenn L McGrath [Sun, 4 Jan 2004 10:28:22 +0000 (10:28 -0000)]
Use bb_getopt_ulflags, saves some space, better argument checking.
Remove ar specific extraction code, always use common extraction code.

20 years agoThinko in s//options. (Whitespace skipping in the wrong place.)
Rob Landley [Sun, 4 Jan 2004 06:42:14 +0000 (06:42 -0000)]
Thinko in s//options.  (Whitespace skipping in the wrong place.)

20 years agoDeclare dependencies of command line editing in the build system
Glenn L McGrath [Sat, 3 Jan 2004 12:07:32 +0000 (12:07 -0000)]
Declare dependencies of command line editing in the build system

20 years agofixes from Selwyn Tang
Eric Andersen [Fri, 2 Jan 2004 10:07:40 +0000 (10:07 -0000)]
fixes from Selwyn Tang

20 years agoAdd some details on exactly how to comply with the GPL
Eric Andersen [Fri, 2 Jan 2004 09:08:45 +0000 (09:08 -0000)]
Add some details on exactly how to comply with the GPL
 -Erik

20 years agoSync to waldi's subversion archive
Glenn L McGrath [Thu, 1 Jan 2004 00:23:01 +0000 (00:23 -0000)]
Sync to waldi's subversion archive

20 years agoFix debian bug #215612, insmod should be silent on request
Glenn L McGrath [Wed, 31 Dec 2003 23:20:10 +0000 (23:20 -0000)]
Fix debian bug #215612, insmod should be silent on request

20 years agoBatch from Bastian Blank to fix debian bug #216435;
Glenn L McGrath [Wed, 31 Dec 2003 23:10:44 +0000 (23:10 -0000)]
Batch from Bastian Blank to fix debian bug #216435;
When linking a non existing file busybox ln will report the target
missind and not the source:

20 years agoUpdate example slightly
Eric Andersen [Sun, 28 Dec 2003 05:06:56 +0000 (05:06 -0000)]
Update example slightly

20 years agows, show date setting format
Tim Riker [Sun, 28 Dec 2003 05:02:40 +0000 (05:02 -0000)]
ws, show date setting format

20 years agoFix a bug of mine, identified by Stephane Billiart
Glenn L McGrath [Sat, 27 Dec 2003 00:21:47 +0000 (00:21 -0000)]
Fix a bug of mine, identified by Stephane Billiart

20 years agoit should work even if you don't assign a pidfile
Russ Dill [Fri, 26 Dec 2003 23:41:28 +0000 (23:41 -0000)]
it should work even if you don't assign a pidfile

20 years agoIsolate code better for unused options, config option to enable long
Glenn L McGrath [Fri, 26 Dec 2003 14:01:37 +0000 (14:01 -0000)]
Isolate code better for unused options, config option to enable long
options, add some conditions to the tar tests in testsuite.

20 years agoVodz last_patch120, more busybox integration, saves 330 Bytes. Tested.
Glenn L McGrath [Fri, 26 Dec 2003 02:19:34 +0000 (02:19 -0000)]
Vodz last_patch120, more busybox integration, saves 330 Bytes. Tested.

20 years agore-indent
Eric Andersen [Wed, 24 Dec 2003 20:30:45 +0000 (20:30 -0000)]
re-indent

20 years agofix a long standing underallocation bug
Russ Dill [Wed, 24 Dec 2003 19:57:13 +0000 (19:57 -0000)]
fix a long standing underallocation bug

20 years agomove debugging to safe place (before vfork)
Russ Dill [Wed, 24 Dec 2003 19:31:08 +0000 (19:31 -0000)]
move debugging to safe place (before vfork)

20 years agoPatch from Ned Ludd, solar at gentoo dot org:
Eric Andersen [Wed, 24 Dec 2003 06:02:11 +0000 (06:02 -0000)]
Patch from Ned Ludd, solar at gentoo dot org:

I had previously provided you with a patch to help complete busybox's
props suite, but have heard no word back. Sense then I've made use of as
many of busybox's native API settings as I could find and would really
love for you to include support for this. If there is something more I
need to do to get this supported added in please let me know.

20 years agomatch changes made to cmdedit
Eric Andersen [Tue, 23 Dec 2003 20:47:22 +0000 (20:47 -0000)]
match changes made to cmdedit

20 years agoMatch changes made to cmdedit
Eric Andersen [Tue, 23 Dec 2003 20:45:14 +0000 (20:45 -0000)]
Match changes made to cmdedit

20 years agofix broken formatting
Eric Andersen [Tue, 23 Dec 2003 20:37:54 +0000 (20:37 -0000)]
fix broken formatting

20 years agodon't mess up errno
Eric Andersen [Tue, 23 Dec 2003 20:37:23 +0000 (20:37 -0000)]
don't mess up errno

20 years agoCmdedit update from Vladimir N. Oleynik (vodz)
Eric Andersen [Tue, 23 Dec 2003 20:24:51 +0000 (20:24 -0000)]
Cmdedit update from Vladimir N. Oleynik (vodz)

20 years agoShow the news by default
Eric Andersen [Tue, 23 Dec 2003 10:00:00 +0000 (10:00 -0000)]
Show the news by default

20 years agoPrepare for release 1_00_pre5
Eric Andersen [Tue, 23 Dec 2003 09:12:09 +0000 (09:12 -0000)]
Prepare for release

20 years agoPatch from Matt Kraai:
Eric Andersen [Tue, 23 Dec 2003 08:53:51 +0000 (08:53 -0000)]
Patch from Matt Kraai:

sed is broken:

 busybox sed -n '/^a/,/^a/p' >output <<EOF
 a
 b
 a
 b
 EOF
 cmp -s output - <<EOF
 a
 b
 a
 EOF

The attached patch fixes it.

20 years agoFix compile error, the indenting really needs to be fixed here
Glenn L McGrath [Tue, 23 Dec 2003 07:21:33 +0000 (07:21 -0000)]
Fix compile error, the indenting really needs to be fixed here

20 years agoFix a bug of mine where extracting files to stdout would extract to
Glenn L McGrath [Mon, 22 Dec 2003 21:02:41 +0000 (21:02 -0000)]
Fix a bug of mine where extracting files to stdout would extract to
much, modified patch from Bastian Blank

20 years agoBump version
Eric Andersen [Sun, 21 Dec 2003 09:04:54 +0000 (09:04 -0000)]
Bump version

20 years agoDon't hose up perms for files that happen to have symlinks
Eric Andersen [Sun, 21 Dec 2003 08:59:24 +0000 (08:59 -0000)]
Don't hose up perms for files that happen to have symlinks
in the tarball that point to them.
 -Erik

20 years agobother. It seems I can't read.
Eric Andersen [Sat, 20 Dec 2003 10:23:28 +0000 (10:23 -0000)]
bother.  It seems I can't read.

20 years agodoh!
Eric Andersen [Sat, 20 Dec 2003 09:17:50 +0000 (09:17 -0000)]
doh!

20 years agoNew applet, rx, by Christopher Hoover
Glenn L McGrath [Sat, 20 Dec 2003 07:30:35 +0000 (07:30 -0000)]
New applet, rx, by Christopher Hoover

20 years agoTry to accomodate systems that do not define PAGE_SHIFT
Eric Andersen [Sat, 20 Dec 2003 07:26:10 +0000 (07:26 -0000)]
Try to accomodate systems that do not define PAGE_SHIFT

20 years agoEradicate all references to loadacm
Eric Andersen [Sat, 20 Dec 2003 07:16:22 +0000 (07:16 -0000)]
Eradicate all references to loadacm

20 years agoKill off the loadacm applet. It is unused, unmaintained
Eric Andersen [Sat, 20 Dec 2003 07:07:22 +0000 (07:07 -0000)]
Kill off the loadacm applet.  It is unused, unmaintained
garbage leftover from before I started maintaining BusyBox.
As the Klingon's like to say, Today is a good day to die.
 -Erik

20 years agoUse bb_xopen
Glenn L McGrath [Sat, 20 Dec 2003 06:00:08 +0000 (06:00 -0000)]
Use bb_xopen

20 years agoAllow recieving file to stdout, sending files from stdin, use the '-'
Glenn L McGrath [Sat, 20 Dec 2003 05:43:34 +0000 (05:43 -0000)]
Allow recieving file to stdout, sending files from stdin, use the '-'
filename. Save a variable.

20 years agoUse low level file descriptors to match bb_copyfd_eof
Glenn L McGrath [Sat, 20 Dec 2003 04:38:01 +0000 (04:38 -0000)]
Use low level file descriptors to match bb_copyfd_eof

20 years agodisplay the port number number correctly, other minor optimisations
Glenn L McGrath [Sat, 20 Dec 2003 03:19:27 +0000 (03:19 -0000)]
display the port number number correctly, other minor optimisations

20 years agoChange interface to bb_lookup_host, dont try and set port inside this
Glenn L McGrath [Sat, 20 Dec 2003 01:47:18 +0000 (01:47 -0000)]
Change interface to bb_lookup_host, dont try and set port inside this
function as there is no gracefull way of handling failures.
Rename bb_getport to bb_lookup_port, allow a default port to be
specified so it always returns a correct value.
Modify ftpgetput/rdate/wget to use the new interface.
wget/rdate now use etc/services with a falback default value.

20 years agoPatch from Woody Suwalski:
Eric Andersen [Fri, 19 Dec 2003 21:04:19 +0000 (21:04 -0000)]
Patch from Woody Suwalski:

Erik, I think we have met online some time ago when I was in Corel/Rebel
    Netwinder project....

Anyway, I would like to use BB on 2.6.0 initrd. 1.00-pre4 works OK, if
insmod is actually presented with a full path to the module. Otherwise -
problems (not to mention conflicts when 2.4 modutil is enabled)

Here are some patches for insmod and modprobe which try to walk around
the default ".o" module format for 2.2/2.4 modules (you have probably
noticed it is now .ko in 2.6 ;-)) Trying to steal as little space as
possible if 2.6 not enabled...

The modprobe is still not perfect on 2.6 - seems to be jamming on some
dependencies, but works with some (to be debugged). Anyway after the
patches it at least tries to work....

Will there be a 1.00-pre5 coming any time soon?

Thanks, Woody

20 years agoUse getopt_ulflags
Glenn L McGrath [Fri, 19 Dec 2003 12:08:56 +0000 (12:08 -0000)]
Use getopt_ulflags

20 years agoAllow escaped 8 bit characters in bb_opt_complementaly
Glenn L McGrath [Fri, 19 Dec 2003 12:03:18 +0000 (12:03 -0000)]
Allow escaped 8 bit characters in bb_opt_complementaly

20 years agoPatch from Fillod Stephane:
Eric Andersen [Fri, 19 Dec 2003 11:32:14 +0000 (11:32 -0000)]
Patch from Fillod Stephane:

  You will find in the attached file "syslog.patch" a patch which adds
  config options to set at compile time the size of the circular buffer,
  and some documentation update.

20 years agoPatch from Fillod Stephane:
Eric Andersen [Fri, 19 Dec 2003 11:30:13 +0000 (11:30 -0000)]
Patch from Fillod Stephane:

* While I'm at it, there's also a "telnetd.patch" which maps CRLF to CR,
  like netkit-telnet does, required by the loosy Windows telnet clients.

20 years agoPatch from Fillod Stephane:
Eric Andersen [Fri, 19 Dec 2003 11:29:29 +0000 (11:29 -0000)]
Patch from Fillod Stephane:

* The "rdate.patch" file makes rdate to NOT settimeofday if the date to be
set equals current date. This prevents the system from experiencing nasty time
discontinuities caused by sub-second changes, with a protocol that has only
over second resolution. Depending on your taste, the "fprintf(stderr..." may be
removed.

20 years agoPatch from Stephane Billiart:
Eric Andersen [Fri, 19 Dec 2003 11:23:47 +0000 (11:23 -0000)]
Patch from Stephane Billiart:

This removes references to config->remoteuser when
CONFIG_FEATURE_HTTPD_CGI=y but CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set

20 years agoTito writes:
Eric Andersen [Fri, 19 Dec 2003 11:07:59 +0000 (11:07 -0000)]
Tito writes:

Hi to all,
here is a new patch for bb's devfsd. The news are:

1) Size reduction for the basic setup with no options compiled in from :
     text        data     bss     dec       hex   filename
    10591     392      543    11526   2d06 devfsd.o
    rw-r--r--    1 root     root        18536 Dec 18 21:52 devfsd.o

    to:

    text        data     bss     dec        hex  filename
    9303      392      543    10238    27fe devfsd.o
    rw-r--r--    1 root     root        16528 Dec 18 22:02 devfsd.o

   With this setup you should not expect much output from devfsd
    ( just at start or with -v) and if some error occurs it only exits 1.
   To have more output enable:  " Increases logging (and size)" (+1568 b).

2) The option "Adds function names to program output" was removed from config menu
    and now to enable debug output you can use bb's standard option:
    "Build BusyBox with Debugging symbols".
    Be careful as with this option enabled a lot of data are outputted to /dev/log and/or to stderr.

3) A new option: "Enables the -fg and -np option" was added to config menu  (+128 b).

BTW: option "Adds support for MODLOAD keyword in devsfd.conf"  adds 268 b.

4) The following keywords in devsfd.conf are supported:
   "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
   "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",  "MKOLDCOMPAT",
   "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".

   But only if they are written UPPERCASE!!!!!!!!

5)Help text in usage.h was modified.

6)Something that I have forgotten..........

I've tested this for the last week on my box and it seems to work as expected.

Thanks in advance and please apply.

Ciao,

Tito

20 years agoManousaridis Angelos writes:
Eric Andersen [Fri, 19 Dec 2003 10:47:40 +0000 (10:47 -0000)]
Manousaridis Angelos writes:

Another issue I found was with the iproute utility. While using another
program I found that it failed because the "ip route del" command was
not found. I looked at the full iproute implementation and this command
exists. The busybox version has the "ip route delete" command. I have
created a patch which makes the "ip route del" command an alias to the
"ip route delete" command.

20 years agoManousaridis Angelos writes:
Eric Andersen [Fri, 19 Dec 2003 10:46:00 +0000 (10:46 -0000)]
Manousaridis Angelos writes:

Hello,

I have been using busybox for some time now, for an ARM based platform.
I was very pleased when I tried the 1.00preX series, with all the new
utilities and daemons.

I found out that the ifupdown in busybox does not behave exaclty like
the debian version. Then the pre-up script fails, the interface is
getting up. Also when the post-up script fails the return value is
ignored. Actually everything is always run and the return value is
always true. I looked at the original implementation from debian and
fixed the busybox version to do the same. A patch is attached if anyone
is interested.

20 years agodon't use kernel headers
Eric Andersen [Fri, 19 Dec 2003 10:40:56 +0000 (10:40 -0000)]
don't use kernel headers

20 years agoUse getopt_ulflags
Glenn L McGrath [Fri, 19 Dec 2003 10:37:52 +0000 (10:37 -0000)]
Use getopt_ulflags

20 years agovodz noticed we need to cast things back to an unsigned long
Eric Andersen [Fri, 19 Dec 2003 10:34:36 +0000 (10:34 -0000)]
vodz noticed we need to cast things back to an unsigned long
or the syscall will not get the proper arguments.

20 years agoFix a bug preventing use of escaped characters that use the signed bit
Glenn L McGrath [Fri, 19 Dec 2003 10:13:10 +0000 (10:13 -0000)]
Fix a bug preventing use of escaped characters that use the signed bit

20 years agorename __getgrent so that it doesn't conflict with some libc's
Russ Dill [Thu, 18 Dec 2003 22:40:58 +0000 (22:40 -0000)]
rename __getgrent so that it doesn't conflict with some libc's

20 years agoFinish remerging busybox udhcp and udhcp. Some cleanups as well.
Russ Dill [Thu, 18 Dec 2003 22:25:38 +0000 (22:25 -0000)]
Finish remerging busybox udhcp and udhcp. Some cleanups as well.

20 years agoclean up some bad, bad formatting
Russ Dill [Tue, 16 Dec 2003 22:46:33 +0000 (22:46 -0000)]
clean up some bad, bad formatting

20 years agoinclude headers with prototypes to make sure prototypes match
Russ Dill [Tue, 16 Dec 2003 20:44:15 +0000 (20:44 -0000)]
include headers with prototypes to make sure prototypes match

20 years agoremove reference to missing header file which is breaking the build
Eric Andersen [Tue, 16 Dec 2003 12:04:01 +0000 (12:04 -0000)]
remove reference to missing header file which is breaking the build

20 years agoUsing vlock also requires libcrypt
Eric Andersen [Tue, 16 Dec 2003 07:43:20 +0000 (07:43 -0000)]
Using vlock also requires libcrypt