Changeset 7171f93 in freewrt


Ignore:
Timestamp:
May 24, 2007, 12:23:28 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
e74f2cb
Parents:
670de00
Message:
  • 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

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2653 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
1 added
185 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.