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/base-files

View Directory Listing Directory Listing


Sticky Revision:

Revision 3270 - Directory Listing
Modified Wed Jul 18 13:30:55 2007 UTC (6 years, 7 months ago) by tg
merge the rest

Revision 3265 - Directory Listing
Modified Wed Jul 18 12:45:43 2007 UTC (6 years, 7 months ago) by tg
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 - Directory Listing
Modified Mon Jul 16 16:39:51 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
make postinstall scripts require mksh as functions.sh does
(how good it's in lbin/ anyway)


Revision 3238 - Directory Listing
Modified Mon Jul 16 16:29:59 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
before anyone cries, give them back their colourls for “ls” command
(“l” and “ll” command stay with -F instead)


Revision 3235 - Directory Listing
Modified Mon Jul 16 15:33:09 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
now that we HAVE mksh, we can use it…


Revision 3233 - Directory Listing
Modified Mon Jul 16 14:05:08 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
first of a series of commits I'd suggest to not test until I did:

remove busybox ash and the other shells (hush, lash, msh); always
use mksh by default, as /bin/sh, /bin/ash symlink, /bin/mksh native,
and default admin login shell unless bash or zsh are selected

mksh is a superset of ash (I didn't find anything busybox ash can
do that mksh can't), and the upcoming mksh R30 will be even smaller
in -DMKSH_SMALL mode (but that one will lack vi editing mode)

ok wbx@

we planned this for 1.2, but it will greatly help the nfo conversion
and users request shells they can actually use if they don't have a
webinterface handy


Revision 3211 - Directory Listing
Modified Fri Jul 13 15:20:20 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
breaks rb-2.6/nfsroot

Revision 3201 - Directory Listing
Modified Wed Jul 11 10:30:44 2007 UTC (6 years, 7 months ago) by spaetzle
Original Path: trunk/freewrt/package/base-files
removed wireless-bridge-if, not needed from now


Revision 3200 - Directory Listing
Modified Wed Jul 11 10:06:14 2007 UTC (6 years, 7 months ago) by spaetzle
Original Path: trunk/freewrt/package/base-files
dashver bump


Revision 3199 - Directory Listing
Modified Wed Jul 11 10:05:23 2007 UTC (6 years, 7 months ago) by spaetzle
Original Path: trunk/freewrt/package/base-files
fixed failsafe cleanup for rb and other switchless devices


Revision 3194 - Directory Listing
Modified Tue Jul 10 16:46:32 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
move that stuff to a more sensible place, ok wbx@


Revision 3140 - Directory Listing
Modified Wed Jul 4 18:10:42 2007 UTC (6 years, 7 months ago) by austriancoder
Original Path: trunk/freewrt/package/base-files
missed dash version

Revision 3139 - Directory Listing
Modified Wed Jul 4 17:58:35 2007 UTC (6 years, 7 months ago) by austriancoder
Original Path: trunk/freewrt/package/base-files
fix selection of STA wlan mode

Revision 3125 - Directory Listing
Modified Wed Jul 4 11:39:54 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
replace mkpasswd and /usr/bin/encrypt by portable md5crypt on
fwwif and mirmake basis; tested on GNU/Linux for now


Revision 3119 - Directory Listing
Modified Wed Jul 4 10:45:13 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
(untested) if shutting down, first put off the power led, so we know
ok wbx@


Revision 3071 - Directory Listing
Modified Mon Jul 2 13:07:50 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
oops

Revision 3070 - Directory Listing
Modified Mon Jul 2 13:05:53 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• move bridge configuration to end of /etc/network/interfaces to make it work
• fix echo -e abuse


Revision 3063 - Directory Listing
Modified Mon Jul 2 12:06:40 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• fix cat abuse and double-sed
• change lanbridge config to “inet manual”, requested by wbx@

spaetzle: if changing ANYTHING in fwifupdown, PLEASE make sure that the
auto-generated network configs from the base-files package are in sync.
In _all_ possible combinations.


Revision 3053 - Directory Listing
Modified Sun Jul 1 02:05:40 2007 UTC (6 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• add zsh to /etc/shells, forgotten by wbx@
• remove lash, hush and msh from the choice for /bin/sh – we require
  either ash or mksh there for FreeWRT 1.1, other shells are not
  compatible enough
• enable the use of zsh as login shell (alongside with ash, hash, msh,
  lush, bash, mksh, /bin/sh)


Revision 2927 - Directory Listing
Modified Tue Jun 26 13:55:54 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
… if everything were this easy…


Revision 2882 - Directory Listing
Modified Mon Jun 25 14:43:47 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
wbx@ „warum finden die [unsere Kunden] das und wir nicht?“


Revision 2880 - Directory Listing
Modified Fri Jun 22 15:45:37 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
deconfigure switch ports correctly on non-wl500gD
agreed wbx@


Revision 2878 - Directory Listing
Modified Fri Jun 22 13:19:17 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
introduce a new shell function switch_reset() in all “preinit.arch”
files that is a no-op except on the Asus WL-500gD, where, accroding
to wbx@, a special procedure is required to reinitialise the switch
because it is so unlike the switch found on any other router


Revision 2874 - Directory Listing
Modified Thu Jun 21 15:24:17 2007 UTC (6 years, 8 months ago) by spaetzle
Original Path: trunk/freewrt/package/base-files
fixed failsafe cleanup, should fix #322 and #332


Revision 2847 - Directory Listing
Modified Mon Jun 18 18:29:57 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
unbreak lan<->wlan bridge, WHY WAS THIS COMMENTED OUT?


Revision 2817 - Directory Listing
Modified Fri Jun 15 15:33:22 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
simplify, thx nbd for the idea


Revision 2816 - Directory Listing
Modified Fri Jun 15 15:28:46 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
make it so that pressing the ezsetup (or another) button will cancel reset


Revision 2815 - Directory Listing
Modified Fri Jun 15 15:24:10 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• /tmp/.booting now exists from preinit to until after rc.local has been run
• pressing the RESET (not EzSetup) button >4 sec will reboot, like yer PC
• bump dashver


Revision 2805 - Directory Listing
Modified Thu Jun 14 15:14:35 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• aah, _so_ you're stripping them quotation marks
• fix lladdr wlan (pasto)
• can't be so hard to remove a blank line, eh?


Revision 2804 - Directory Listing
Modified Thu Jun 14 14:43:47 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
experimental: support changing the lladdr via menuconfig too


Revision 2803 - Directory Listing
Modified Thu Jun 14 14:29:05 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
I must've been daydreaming or so, or just had worked too much…
on the other hand, this place *IS* a strange location for these files.


Revision 2798 - Directory Listing
Modified Thu Jun 14 13:28:58 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• base-files: fix .ipk file name
• build.mk: if FWRT_PACKAGE_BASE_FILES=y also create build_mipsel/root
  (for chroot build_i386/root/)


Revision 2797 - Directory Listing
Modified Thu Jun 14 13:25:39 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
wtf?

Revision 2796 - Directory Listing
Modified Thu Jun 14 13:13:57 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
merge base-files-arch into base-files, experimental, blame me if it breaks


Revision 2763 - Directory Listing
Modified Mon Jun 11 12:03:43 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
also here reboot after 60s even if the shutdown scripts take longer


Revision 2750 - Directory Listing
Modified Fri Jun 8 15:39:40 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
cleanup

Revision 2709 - Directory Listing
Modified Tue Jun 5 12:05:27 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
fix rc.conf entry generation
• quote properly
• handle case of $2 and $3 omission correctly
• make it possible to define empty default values

MFC to 1.0-stable branch recommended


Revision 2667 - Directory Listing
Modified Fri May 25 14:11:04 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files
run shitdown scripts synchronously.
I hope this doesn't break anything, but if the box is going down
faster than /etc/rc.shutdown umounts davfs2 (in my case), heaven
is going down the drain to hell, er I mean, cache inconsistency…


Revision 2653 - Directory Listing
Modified Thu May 24 10:23:28 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• 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 2648 - Directory Listing
Modified Thu May 24 08:15:48 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files
without /etc/hosts entries for localhost, many apps will behave
strange; this adds the missing IPv6 entries, which won't hurt –
or so I think – if the kernel doesn't support IPv6


Revision 2566 - Directory Listing
Modified Sun May 20 14:43:44 2007 UTC (6 years, 9 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
fix for two minor error messages

* they occured after issuing 'reboot' on the serial console cli of rb-2.6
* please check base-files/files/etc/hotplug.d/usb/01-mount for correctness
  on a system with usb support


Revision 2499 - Directory Listing
Modified Sun May 13 00:50:32 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files
add dependency of base-files ipkg on the svn revision

„mach doch“ wbx@


Revision 2498 - Directory Listing
Modified Sun May 13 00:49:18 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files
fix the remainder of the init script fubar

run-time test succeeded after prodding and serial console help by wbx@


Revision 2494 - Directory Listing
Modified Sun May 13 00:11:35 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files
neither ash nor mksh have --login option, bash isn't allowed as ash alias


Revision 2485 - Directory Listing
Modified Sat May 12 22:36:00 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files
by request of wbx@:

make it possible for users to do
| /etc/init.d/<foo> restart
instead of having to do
| /etc/init.d/S*<foo> restart
by moving the order into a magickal™ comment.

Untested.

Also remove the svn:executable properties, because rcS and rcK will
always call them with /bin/sh, and bump dashvers accordingly.


Revision 2418 - Directory Listing
Modified Sun Apr 22 21:39:44 2007 UTC (6 years, 10 months ago) by dnehring
Original Path: trunk/freewrt/package/base-files
Small helper function for appending strings to a variable.


Revision 2375 - Directory Listing
Modified Wed Apr 18 00:06:44 2007 UTC (6 years, 10 months ago) by tg
Original Path: trunk/freewrt/package/base-files
replace get_next_uid() and get_next_gid() with a collision-free algorithm
taken from MirBSD adduser(8) but converted from mksh(1) with internal file
parsing to fork'n'exec'ing grep(1)

untested

may solve #274, #275


Revision 2366 - Directory Listing
Modified Mon Apr 16 14:46:24 2007 UTC (6 years, 10 months ago) by tg
Original Path: trunk/freewrt/package/base-files
support checkouts from older (xml based) svn tools, too
(on a best-effort basis)

requested by wbx@


Revision 2359 - Directory Listing
Modified Sat Apr 14 20:24:26 2007 UTC (6 years, 10 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• optimise: don't read out the “svn status” a hundred times when one time
  is enough (hint: not everything needs to be a gmake variable) – this is
  by me, it annoyed me often enough
• don't use a local call to the svn client programme; this fails to build
  if it's not installed – noticed by Pawel Szubartowski, thanks


Revision 2355 - Directory Listing
Modified Thu Apr 12 20:55:29 2007 UTC (6 years, 10 months ago) by austriancoder
Original Path: trunk/freewrt/package/base-files
Let powerled flash from boot until system is ready - tested on wl500gp"

If there exists a better solution, let me know it.




Revision 2322 - Directory Listing
Modified Mon Apr 2 22:17:37 2007 UTC (6 years, 10 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
time to break trunk. 

* update to OpenWrt brcm-2.4 patch, wl driver and diag driver
* fix failsafe mode to use new hotplug method
* rework of mk/kernel-build.mk to use .config instead of stampfiles
* simplify mk/kernel*.mk to use $(FS) instead ifeq/else crap

a lot of small stuff.

tested and verified to boot at least on 
- Netgear WG634u
- Linksys WRT54GS v1.0
- Asus WL500gP

Only basic lan and wlan stuff (none encryption, wep) are tested.

PLEASE update only on NON-PRODUCTIVE routers with serial access.
HELP to test the new backend code for BRCM-2.4!



Revision 2319 - Directory Listing
Modified Sat Mar 31 23:25:49 2007 UTC (6 years, 10 months ago) by tg
Original Path: trunk/freewrt/package/base-files
nbd (from OpenWrt) says that the /dev/console node on an Asus WL-500g
yields errors on I/O iff the serial console is not attached. This was
failing our failsafe mode; wbx@ pointed me to the OpenWrt code.

Fix this by trying the console (“dd” command taken from OpenWrt) then
redirecting I/O to a pty (idea was from OpenWrt, implementation fixed
by yours truly tg@) if it fails.

Also redirect telnetd I/O to /dev/null in case its stdio fhs are bad,
too. – XXX this might be wrong since this comes after preinit.arch

tested by thengineer (Jakob)


Revision 2274 - Directory Listing
Modified Mon Mar 26 07:14:21 2007 UTC (6 years, 11 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
sync with 1.0

Revision 2258 - Directory Listing
Modified Sun Mar 25 11:15:41 2007 UTC (6 years, 11 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
embed adk .config, some dot cleanup

Revision 2165 - Directory Listing
Modified Tue Mar 13 22:52:53 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• /etc/preinit.arch is sourced, doesn't need to be executable
  or have a shebang line
• also, whitespace cleanup and simplification
• new: /etc/init.d/rcK calls /etc/rc.shutdown¹ and then /etc/init.d/K* scripts
  just like /etc/init.d/rc.S runs /etc/init.d/S* scripts and then /etc/rc.local
  -> derived from PR#246, thanks for the input, agreed to commit wbx@
• /etc/S* and /etc/K* scripts do not need to be executable any more or
  have a shebang line, they're called from /bin/sh now
• new: /etc/init.d/K20hotplug, from PR#246
• new: /etc/init.d/K00wan, from /etc/profile (“reboot” function), ok wbx@
• remove /etc/version – even wbx@ was surprised it still exists
• /etc/S* and /etc/K* scripts, /etc/init.d/rcS and /etc/init.d/rcK
  now sanitise $PATH
• clean up /etc/profile
• /sbin/hotplug now calls its scripts from /etc/hotplug.d/ with /bin/sh
  instead of sourcing them, thus being more reliable
• simplify /sbin/hotplug

¹) just like /etc/rc.local, /etc/rc.shutdown SHALL NEVER be created by ADK.
   It's for the user to play with ONLY.


Revision 2163 - Directory Listing
Modified Tue Mar 13 22:12:22 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/base-files
by request of wbx@, upgrade to fwcf 1.03, add reboot hook, etc.
somewhat tested on my asus wl-500g, both mksh and ash


Revision 2149 - Directory Listing
Modified Sat Mar 10 01:29:27 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/base-files
… and while at it, the second too, it can default on the first


Revision 2148 - Directory Listing
Modified Sat Mar 10 01:28:04 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/base-files
make the third parametre of add_rcconf() optional, default NO as per wbx@ policy


Revision 2144 - Directory Listing
Modified Fri Mar 9 22:45:46 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/base-files
• allow the user to choose GNU bash as login shell for the
  “admin” user; requested by <sum> via IRC
• fix bug: bash wasn't in /etc/shells, bad wbx@


Revision 2106 - Directory Listing
Modified Tue Feb 27 10:14:24 2007 UTC (6 years, 11 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
sync with branches/freewrt_1_0 r2105


Revision 2026 - Directory Listing
Modified Fri Feb 16 22:35:24 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/package/base-files
add support for /etc/rc.local: _if_ it's executed, it's run
by /bin/sh after all /etc/init.d/S* scripts have finished;
the /etc/rc.local file should _not_ be executable; it _must_
not be created by FreeWRT, it's intended as a means for the
user to add site-local post-startup configuration


Revision 1753 - Directory Listing
Modified Thu Jan 25 19:56:53 2007 UTC (7 years, 1 month ago) by tg
Original Path: trunk/freewrt/package/base-files
* we override LC_ALL (already), no need to do it twice
* LANG is overridden by LC_ALL anyway
* on some systems, GNU dcgettext overrides LC_ALL with
  LANGUAGE, so we force-set that to 'C' as well


Revision 1748 - Directory Listing
Modified Thu Jan 25 19:35:56 2007 UTC (7 years, 1 month ago) by tg
Original Path: trunk/freewrt/package/base-files
improve english


Revision 1687 - Directory Listing
Modified Sat Jan 20 21:28:15 2007 UTC (7 years, 1 month ago) by n0-1
Original Path: trunk/freewrt/package/base-files
forgot this one while merging

Revision 1686 - Directory Listing
Modified Sat Jan 20 21:21:59 2007 UTC (7 years, 1 month ago) by n0-1
Original Path: trunk/freewrt/package/base-files
merged from branches/common-adk 1310:1685

the following packages are not converted yet:
* alsa
* asterisk
* pmacct
* zaptel
* elinks
* libgd
* lua
* mypackage
* openser
* php*
* snort*
* tmsnc

additionally, freeradius doesn't compile.

happy fixing :P


Revision 1196 - Directory Listing
Modified Wed Nov 22 16:04:06 2006 UTC (7 years, 3 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
found some bugs when testing, here the fixes


Revision 1165 - Directory Listing
Modified Sun Nov 19 17:30:36 2006 UTC (7 years, 3 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
fixed syntax for busybox ip applet (does not understand abbreviated COMMAND params)

Revision 1140 - Directory Listing
Modified Tue Nov 14 19:38:20 2006 UTC (7 years, 3 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
fixed for nfsroot

Revision 1107 - Directory Listing
Modified Thu Nov 9 23:23:23 2006 UTC (7 years, 3 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
update banner, development version, fwcf note

Revision 1082 - Directory Listing
Modified Mon Nov 6 16:36:22 2006 UTC (7 years, 3 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
mount_root should be run before using /dev/urandom,
at least my installations don't provide a static
one. As mount_root mounts devfs it should be there 
afterwards.


Revision 1070 - Directory Listing
Modified Sun Nov 5 20:32:18 2006 UTC (7 years, 3 months ago) by dnehring
Original Path: trunk/freewrt/package/base-files
New banner font for FreeWRT

Revision 1068 - Directory Listing
Modified Sun Nov 5 17:51:01 2006 UTC (7 years, 3 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
integrated support for reset button of RouterBoard

Revision 997 - Directory Listing
Modified Mon Oct 23 20:52:56 2006 UTC (7 years, 4 months ago) by tg
Original Path: trunk/freewrt/package/base-files
we're almost at revision 1000, adapt the banner width for that


Revision 990 - Directory Listing
Modified Mon Oct 23 16:22:28 2006 UTC (7 years, 4 months ago) by n0-1
Original Path: trunk/freewrt/package/base-files
preinit now supports target filesystems without fwcf

Revision 863 - Directory Listing
Modified Sun Oct 8 11:07:46 2006 UTC (7 years, 4 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
add a default timezone, patch from dirk

Revision 845 - Directory Listing
Modified Wed Oct 4 05:53:32 2006 UTC (7 years, 4 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
sync with stable

Revision 837 - Directory Listing
Modified Tue Oct 3 18:02:12 2006 UTC (7 years, 4 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
fix hostname, does not work with ash, thx AndyCap for reporting

Revision 827 - Directory Listing
Modified Tue Oct 3 15:38:58 2006 UTC (7 years, 4 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
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 788 - Directory Listing
Modified Sat Sep 30 21:08:42 2006 UTC (7 years, 4 months ago) by markus
Original Path: trunk/freewrt/package/base-files
added alias ll="ls -l"

Revision 719 - Directory Listing
Modified Mon Sep 25 21:16:56 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
* add PKG_VERSION to every package in default selection
* add broadcom-scripts package as default for 1.0, it adds
  network and switch configuration scripts to base
  suggested by markus to separate these from webif package
* move ed to application and disable by default, sorry tg, but
  not everybody needs it
* be sure that if broadcom-scripts are installed, new ifup/ifdown
  network configuration is not used



Revision 703 - Directory Listing
Modified Sun Sep 24 21:11:03 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
* remove unneeded login script, just call telnetd in failsafe mode
* remove non-portable nvram check for failsafe variable



Revision 696 - Directory Listing
Modified Sun Sep 24 04:22:07 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/package/base-files
switch to FWCF

ok to enable now wbx@
bugreports to tg@


Revision 681 - Directory Listing
Modified Sat Sep 23 22:44:27 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
move default to standard dir files

Revision 673 - Directory Listing
Modified Sat Sep 23 20:30:38 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
* 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 644 - Directory Listing
Modified Wed Sep 20 18:55:45 2006 UTC (7 years, 5 months ago) by tg
Original Path: trunk/freewrt/package/base-files
bump package patchlevel for markus@
after revision 641-643's changes


Revision 641 - Directory Listing
Modified Wed Sep 20 18:26:24 2006 UTC (7 years, 5 months ago) by markus
Original Path: trunk/freewrt/package/base-files
moved ipcalc to webif as it uses a webif awk file

Revision 622 - Directory Listing
Modified Sat Sep 16 22:15:34 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
nmap needs libgcc, cleanup some Config.in

Revision 609 - Directory Listing
Modified Sat Sep 16 18:29:29 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
add separate crond script to busybox package, do not startup by default. use /etc/rc.conf to activate

Revision 608 - Directory Listing
Modified Sat Sep 16 17:33:16 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
revert, tg is awake and controlling my bad commits

Revision 607 - Directory Listing
Modified Sat Sep 16 17:18:52 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
use a default /etc/hostname

Revision 600 - Directory Listing
Modified Sat Sep 16 16:21:37 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

Revision 588 - Directory Listing
Modified Tue Sep 12 18:11:35 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
merge wbx-target-cleanup to trunk.
- mk directory for some top level makefiles (build.mk,vars.mk)
- add a separate configfs partition to all models, 128 kb big
- add model and platform specific startup files and kernel configs
- delete target/linux/package, add all addon kernel packages to packages
- simplify target/linux/brcm-2.4/Makefile, abstraction to mk/ comes later
- add target/image directory, place where the different images are created
- default off for all extra packages, be sure that you enable all packages
  you need to get a dsl-capable router. snapshots will be created by a specific config which contains all needed stuff (iptables, pppoe, pptp, haserl, webif)



Revision 556 - Directory Listing
Modified Sat Sep 2 20:46:39 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
default for daemons is always off, add FreeWRT in /etc/hosts, needed for nmbd

Revision 442 - Directory Listing
Modified Thu Jul 27 12:43:02 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
* adding mksh to /etc/shells is no longer necessary as of r441
* while here, instead of patching /etc/profile on mksh postinstall
  time, add a hook for /etc/mkshrc reading to standard /etc/profile
  and create that; bump mksh patchlevel
  note: the next _upstream_ mksh version will already come with a
  sample ~/.mkshrc which we will install (patched appropriately) as
  /etc/mkshrc (read from within our /etc/profile, not by mksh default)
  then, to get rid of the postinstall script as well


Revision 441 - Directory Listing
Modified Thu Jul 27 12:37:52 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
generate /etc/shells dynamically, based upon packages
being built (even if marked 'm')


Revision 439 - Directory Listing
Modified Thu Jul 27 12:22:26 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
add the ability to choose user's default shell, too
XXX untested


Revision 416 - Directory Listing
Modified Tue Jul 25 20:18:59 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/package/base-files
-fixed warnings

Revision 397 - Directory Listing
Modified Tue Jul 25 06:18:18 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
use /bin/sh, for people not using ash as login shell, suggested by tg@, tested by me

Revision 383 - Directory Listing
Modified Sun Jul 23 16:11:45 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
sysfs is kernel 2.6 only

Revision 375 - Directory Listing
Modified Sat Jul 22 18:50:05 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
simplify. fix squashfs images, we only support overlay filesystem at the moment, I will add ramfs as another firmware type later

Revision 369 - Directory Listing
Modified Sat Jul 22 16:50:15 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
* base-files: we'll have variables of the style
  | firewall=NO
  | ssh=YES
  and variables of the style
  | ntpd_flags=-s
  | ntpd_flags=""
  | ntpd_flags=NO
* openntpd: convert to use functions.sh stuff


Revision 368 - Directory Listing
Modified Sat Jul 22 16:45:35 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
make add_rcconf actually useful (changes API)


Revision 367 - Directory Listing
Modified Sat Jul 22 16:26:07 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
shorten

Revision 366 - Directory Listing
Modified Sat Jul 22 16:23:42 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
/bin/sh is a valid shell, always


Revision 365 - Directory Listing
Modified Sat Jul 22 16:23:19 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
strip comments to reduce size


Revision 364 - Directory Listing
Modified Sat Jul 22 16:22:02 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
remove shebang; shorten


Revision 363 - Directory Listing
Modified Sat Jul 22 16:20:00 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
this file is always only sourced, never executed,
so remove the shebang line and executable attribute


Revision 362 - Directory Listing
Modified Sat Jul 22 16:12:19 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
default root shell should be /bin/sh, in case something goes down the drain

future directions:
- let user select his default user shell (will replace the /bin/ash in
  the admin: line)
- optionally, if e.g. mksh is built and busybox is built without ash,
  make /bin/sh a (hard)link to mksh
- check if scripts use #!/bin/sh


Revision 361 - Directory Listing
Modified Sat Jul 22 16:03:52 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
don't use echo -e or echo -n because it's unportable
if you were using mksh you could use the standardised print builtin
which bash doesn't have (don't know about ash), but as of now you've
got to use the (external) /usr/bin/printf programme for that


Revision 360 - Directory Listing
Modified Sat Jul 22 15:48:30 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
as discussed with wbx@ some 2-3 weeks ago, change
the BR2_ prefix to FWRT_

tested with a standard build (only the squashfs
image since the jffs2 didn't get built)



Revision 357 - Directory Listing
Modified Sat Jul 22 14:58:57 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
as an instant-measure against bad quality of random numbers on
these devices, add a few bytes of entropy from the build system
on the image

after discussion with wbx@ who taught be that flash writes are
not cheap I refrained from ever automatically updating this file
(e.g. via cronjob and on shutdown), so if you want persistent
entropy, you'd do the following command manually on the box:
# dd if=/dev/urandom of=/etc/.rnd bs=512 count=1

once we have our fuse/nvram thingie, entropy ought to be stored
there, and if a new image is flashed, the old and new entropy
ought to be merged. i'll tend to this when js@ is done.


Revision 347 - Directory Listing
Modified Sat Jul 22 05:19:59 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
* base-files:
  - BR2_RUNTIME_PACKAGES_URL needed unquoting (my bad for doint
    the quotes, markus' for not removing them ;)
  - asterisks need to be escaped in regexps, see re_format(7) if
    you're on BSD or http://www.mirbsd.org/man7/re_format.htm otherwise
* target/Config.in:
  - this small one-liner (first hunk of r278) by wbx was the cause
    of all these reboots... looks as if the LP module (what's that,
    line printer?) causes them (and my Asus doesn't even have a
    parallel port), revert and unbreak the long-unnoticed thingie

Now it builds again (at least my config, I'm too tired to test
another one, even the default config), and I can login again (with
the regexp fix), but

* ssh logins with public key do not work at all
* the root and admin password are displayed in plain text in the build log
* I cannot choose my default shell for the admin user to be /bin/mksh even
  if I enabled mksh
* the default root shell is /bin/ash should be /bin/sh instead IMHO (just
  in case someone fucks up with the user shell)

At least we got a buildable and runnable system again,
and I learned how much suckage is hidden here... and we
all know we'd better test before commit and develop major
stuff in a branch (note to self and all others: read up
on branching and especially merging in the svn book or
better switch to CVS).


Revision 337 - Directory Listing
Modified Fri Jul 21 21:49:20 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/package/base-files
fixed second double quote issue

Revision 336 - Directory Listing
Modified Fri Jul 21 21:35:46 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/package/base-files
fixed doubled quotes

Revision 332 - Directory Listing
Modified Fri Jul 21 20:39:54 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
* never use && in Makefiles, always use || and reverse test logic
* quote properly
* missing line continuation chars


Revision 331 - Directory Listing
Modified Fri Jul 21 20:35:54 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
this is what you people get for using := ...

also fix some indentation while here



Revision 328 - Directory Listing
Modified Fri Jul 21 19:31:26 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
without this patch, mkpasswd cannot ever have worked on GNU/Linux even


Revision 326 - Directory Listing
Modified Fri Jul 21 14:14:51 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/package/base-files
- due to a hint form wbx I changed the description and removed special
  '-KEY-' string handling from Makefile


Revision 325 - Directory Listing
Modified Fri Jul 21 13:52:46 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/package/base-files
- added runtime config for password
- added runtime config for ssh-key
- added mkpasswd for crypt-md5 generation (needed for runtime password config)


Revision 306 - Directory Listing
Modified Fri Jul 21 00:07:59 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
instead of setting WRKBUILD, set WRKSRC and let WRKBUILD?=WRKSRC like mirports
(WRKSRC isn't used anywhere though)


Revision 303 - Directory Listing
Modified Thu Jul 20 23:56:32 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
* whitespace cleanup, while here
* move WRKDIR and DISTFILES definition into PKG_template
* define WRKDIR via parent BUILD_DIR instead of going up from WRKSRC
* use a sub-directory as WRKDIR, like BSD
* rename PKG_BUILD_DIR into WRKBUILD
* define WRKBUILD relative via WRKDIR
* rename PKG_INSTALL_DIR into WRKINST
* fix a few dependencies
* make use of common cases in the definition of WRKBUILD and
  WRKINST, removing many redundant lines
* use WRKDIR instead of BUILD_DIR in places where the latter
  was used previously
* while here, remove PKG_CAT stuff

this only affects packages, for now



Revision 299 - Directory Listing
Modified Thu Jul 20 10:42:54 2006 UTC (7 years, 7 months ago) by markus
Original Path: trunk/freewrt/package/base-files
- added "Runtime Configuration" to menuconfig
- added a package URL preselection to "Runtime Configuration" menu


Revision 286 - Directory Listing
Modified Tue Jul 18 21:56:54 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
I have a bad feeling about this code


Revision 284 - Directory Listing
Modified Tue Jul 18 12:56:53 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
remove useless spaces, quoting, {...} blocks,
useless use of cat, etc.

please test

XXX the passwd and group functions could be merged


Revision 283 - Directory Listing
Modified Tue Jul 18 12:48:53 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
remove 192 bytes of unneccessary whitespace


Revision 281 - Directory Listing
Modified Tue Jul 18 05:40:28 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
use new function add_rcconf

Revision 280 - Directory Listing
Modified Mon Jul 17 21:00:18 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
use option --squash-uids for jffs2 images and remove chmod kludge in preinit, after reading some mkfs.jffs2 docs..

Revision 276 - Directory Listing
Modified Mon Jul 17 04:11:18 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
this is FreeWRT not OpenWrt


Revision 272 - Directory Listing
Modified Mon Jul 17 03:29:56 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
old default.script from whiterussian

Revision 271 - Directory Listing
Modified Mon Jul 17 03:19:26 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
use old S10boot

Revision 270 - Directory Listing
Modified Mon Jul 17 03:08:48 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
clean up, fix whitespace, and: unplenk.


Revision 268 - Directory Listing
Modified Mon Jul 17 03:01:35 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
* remove empty directories (ok wbx@)
* fix failsafe_if stuff
* optimise scripts, fix indent, while here


Revision 267 - Directory Listing
Modified Mon Jul 17 03:00:10 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
set essid to FreeWRT again

Revision 263 - Directory Listing
Modified Mon Jul 17 01:38:24 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
source preinit.arch, do not exec, hint by tg

Revision 259 - Directory Listing
Modified Mon Jul 17 00:32:22 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
some files don't need our EXTRACT_CMD
empty DISTFILES will do


Revision 255 - Directory Listing
Modified Mon Jul 17 00:13:45 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
fix executable properties



Revision 227 - Directory Listing
Modified Sun Jul 16 18:18:41 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
fix typo, fix from OpenWrt

Revision 191 - Directory Listing
Modified Tue Jul 11 22:40:18 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
* change the SYSV init system to add a target "autostart"
* on system startup, call autostart instead of start
* on autostart, check /etc/rc.conf for whether the service is
  enabled and act appropriately; fall through into start target
* move some pre-startup checks into the start target
* some whitespace cleanup, when it makes much sense
  (XXX when I get the person who wrote these scripts...)
* optimise dropbear a little

ok and approved wbx@



Revision 187 - Directory Listing
Modified Tue Jul 11 06:21:26 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
use ifup/ifdown, hotplug and ppp scripts and options from known to work whiterussian

Revision 186 - Directory Listing
Modified Mon Jul 10 22:35:08 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files
shrink by using tabs instead of spaces, and no "..." around case argument
hint: read the autoconf texinfo documentation and the mksh manpage and the
O'Reilly korn shell book.


Revision 185 - Directory Listing
Modified Sun Jul 9 17:40:55 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
add chmod u+s to every startup, it seems to me that mkfs.jffs2 can not handle files with suid bit set correctly, need to check with newer tools later

Revision 182 - Directory Listing
Modified Sun Jul 9 13:58:53 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
* add a specific preinit.arch which executes brcm specific stuff
* for squashfs based images, use mini_fo as default, no ugly symlinks anymore
* add a "version" command, which can be used later, to exactly know which
  FreeWRT version is used (good for postinst scripts and bugreports),
  some users like to recreate the shell banner, but still need to know which
  version is used  
* remove nvram sepcific stuff from some of the startup scripts, like
  syslogd startup params
* add some checks if ldd / arp is installed in /etc/profile



Revision 181 - Directory Listing
Modified Sun Jul 9 10:57:58 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
* remove some obsolete firewall config stuff
* add old-style network configuration based on nvram
* add new rc.conf file to configure which services should be
  started on startup, bsd-ish behavior
* disable firewall by default in rc.conf, remote update via
  ssh is now possible. port 22 is open by default on wan side
* enable suid bit on busybox and add a "admin" user
* ssh via root is disabled (dropbear -w)
* default password for "admin" is "FreeWRT", as well as for root
  ** please change directly after installation **
* remove telnetd from startup, will be used only for failsafe




Revision 165 - Directory Listing
Modified Sun Jul 2 19:44:03 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
fix ipkg.conf

Revision 105 - Directory Listing
Modified Sun Jun 18 16:53:39 2006 UTC (7 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files
_really_ fix svn revision ;)

ok wbx@



Revision 101 - Directory Listing
Modified Sun Jun 18 16:28:43 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
fix banner, after commit 100 ;)

Revision 70 - Directory Listing
Modified Fri Jun 16 18:34:31 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
some more OpenWrt -> FreeWRT conversions

Revision 36 - Directory Listing
Modified Sun Jun 11 08:30:10 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
add start/stop to init script

Revision 35 - Directory Listing
Modified Sun Jun 11 08:29:21 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
do not create /www by default

Revision 34 - Directory Listing
Modified Sat Jun 10 13:22:48 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
enable automatic reboot after jffs2move, from OpenWrt ticketsystem, thx consulting@avongauss.info, rename OpenWrt partition to data, add mini-fo as default kernel module

Revision 33 - Directory Listing
Modified Sat Jun 10 13:00:10 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
small banner fix

Revision 31 - Directory Listing
Modified Sat Jun 10 12:58:26 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
remove note about firstboot

Revision 25 - Directory Listing
Modified Sat Jun 10 08:16:49 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
change default hostname, no need to start busybox httpd

Revision 23 - Directory Listing
Modified Sat Jun 10 08:10:38 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
add a new banner

Revision 22 - Directory Listing
Modified Sat Jun 10 08:06:29 2006 UTC (7 years, 8 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
change package url

Revision 1 - Directory Listing
Added Sat May 27 15:00:14 2006 UTC (7 years, 9 months ago) by wbx
Original Path: trunk/freewrt/package/base-files
add OpenWrt trunk revision 3830. 



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