Log of /branches/common-nfo/package/busybox/ipkg/busybox.postinst
Parent Directory
|
Revision Log
Revision
3265 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 18 12:45:43 2007 UTC
(6 years, 7 months ago)
by
tg
File length: 228 byte(s)
Diff to
previous 3239
copy trunk/freewrt r3264 into a new branch for making the nfo system
because upgrading the old adk branch would be a hell more work
Revision
3234 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 16 14:47:44 2007 UTC
(6 years, 7 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 218 byte(s)
Diff to
previous 2751
part Ⅱ – simplify busybox config, ok wbx@
from now on, you can select a smaller and a fuller busybox, like mksh;
if you want fewer applets, hand-edit the config, we won't prevent you,
but shan't support it in the ADK any more; if you want more applets,
please talk to me and I'll see if they can be included in the list
we still have a problem regarding duplicate binaries (ip, free, tar, …)
which could be solved with dpkg diversions if ipkg supports them;
for now just consider busybox a non-upgradable package if you have any
of these installed
Revision
2653 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu May 24 10:23:28 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 202 byte(s)
Diff to
previous 2644
• base-files/files/etc/init.d/rcK, base-files/files/etc/init.d/rcS:
do correct shebang processing, like the BSD kernel and mksh: get
first line of script to run if it begins with "#!", strip that and
any leading space/tab off, then get shell name (terminates with
space/tab/end of string) and shell argument quoting according to
unix common proceedings; use /bin/sh as interpreter if none could
be found
• mk/package.mk: ensure all init scripts are 0755 by default
• busybox: flesh out inetd init script, so that all init scripts in
FreeWRT either can be found with -path \*/init.d/\* or -name \*.init
• other packages: add #!/bin/sh shebang line to init scripts¹, bump dashver
¹) change this to /bin/ash if you use ash-specific features that mksh
can also do; never use ash-specific features that mksh cannot do (are
there any?), change to /bin/mksh if you use mksh-specific features
and add a run-time dependency on mksh in that case
Revision
2097 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 25 04:04:23 2007 UTC
(7 years ago)
by
n0-1
Original Path:
trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 205 byte(s)
Diff to
previous 1929
set the suid-bit of the busybox binary after installing from ipkg
This should prevent disastrous situations after upgrading/reinstalling
busybox for some reason and having logged out of the last root shell.
Proof of concept:
root@FreeWRT:~# chmod u-s /bin/busybox
root@FreeWRT:~# ll /bin/busybox
-rwxr-xr-x 1 root root 739224 Feb 25 01:29 /bin/busybox
root@FreeWRT:~# ipkg install busybox_1.4.1-6_mipsel.ipk
Installing busybox (1.4.1-6) to root...
Configuring busybox
Done.
root@FreeWRT:~# ll /bin/busybox
-rwsr-xr-x 1 root root 755724 Feb 25 04:55 /bin/busybox
Maybe this should be done for freewrt_1_0 too?
Revision
827 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 3 15:38:58 2006 UTC
(7 years, 4 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 183 byte(s)
Diff to
previous 673
sync with freewrt_1_0 branch. It was a little bit to early to branch,
but now everybody can work again. New smaller stuff can be committed
directly in trunk.
Bigger stuff, like a new architecture or a new board should be
developed via a separate branch. Kernel and compiler updates, too.
Any bugfixes or security updates should go into branch and trunk.
Still send me a patch first and do not commit directly into the branch.
Revision
673 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 23 20:30:38 2006 UTC
(7 years, 5 months ago)
by
wbx
Original Path:
trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 102 byte(s)
Diff to
previous 609
* add a generic network init script which is using busybox ifup/ifdown
* move ifup/ifdown with nvram calls to webif package
* add specific dnsmasq.conf and startup script for dnsmasq for webif
* add version file
This unbreaks DNS/DHCP options in Webif. Even WPA/WPA2 seems possible
if you install broadcom-nas package. I have no WPA/WPA2 enabled box
or operating system to test..
tg@ will add some rc.conf checks so that either webif network
configuration is used or ifup/ifdown from busybox
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.