Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
merge in trunk rev. 3426
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
now that we HAVE mksh, we can use it…
• 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
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.
Let powerled flash from boot until system is ready - tested on wl500gp" If there exists a better solution, let me know it.
• /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.
move default to standard dir 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
add OpenWrt trunk revision 3830.
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.
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |