English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Log of /branches/common-nfo/package/busybox/ipkg/busybox.postinst-manual

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3275 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 14:22:39 2007 UTC (6 years, 7 months ago) by tg
File length: 23 byte(s)
Copied from: branches/common-nfo/package/busybox/ipkg/busybox.postinst revision 3270
Diff to previous 3265
nfo conversion of busybox – child's play due to the recent changes in trunk


Revision 3265 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 12:45:43 2007 UTC (6 years, 7 months ago) by tg
Original Path: branches/common-nfo/package/busybox/ipkg/busybox.postinst
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 3239 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 16 16:39:51 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 228 byte(s)
Diff to previous 3234
make postinstall scripts require mksh as functions.sh does
(how good it's in lbin/ anyway)


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 2751 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 8 15:51:56 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 201 byte(s)
Diff to previous 2653
fix a bunch of rc.conf addition bugs


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 2644 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 23 16:27:45 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 722 byte(s)
Diff to previous 2638
forgot one

Revision 2638 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 23 14:59:17 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 713 byte(s)
Diff to previous 2097
rc.conf support for inetd and rdate


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 1929 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 10 17:48:55 2007 UTC (7 years ago) by wbx
Original Path: trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 182 byte(s)
Diff to previous 827
syslogd -C syntax changed

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



Revision 609 - (view) (download) (annotate) - [select for diffs]
Added Sat Sep 16 18:29:29 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/busybox/ipkg/busybox.postinst
File length: 71 byte(s)
add separate crond script to busybox package, do not startup by default. use /etc/rc.conf to activate

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.

  Diffs between and
  Type of Diff should be a

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20