Log of /branches/common-nfo/package/base-files
Directory Listing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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