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/files/etc/init.d/rcS

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 3427 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 8 11:08:41 2007 UTC (6 years, 6 months ago) by tg
File length: 727 byte(s)
Diff to previous 3265
merge in trunk rev. 3426

Revision 3265 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 18 12:45:43 2007 UTC (6 years, 7 months ago) by tg
File length: 601 byte(s)
Diff to previous 2815
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 2815 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 15 15:24:10 2007 UTC (6 years, 8 months ago) by tg
Original Path: trunk/freewrt/package/base-files/files/etc/init.d/rcS
File length: 601 byte(s)
Diff to previous 2653
• /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 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/base-files/files/etc/init.d/rcS
File length: 580 byte(s)
Diff to previous 2485
• 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 2485 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 12 22:36:00 2007 UTC (6 years, 9 months ago) by tg
Original Path: trunk/freewrt/package/base-files/files/etc/init.d/rcS
File length: 259 byte(s)
Diff to previous 2165
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 2165 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 13 22:52:53 2007 UTC (6 years, 11 months ago) by tg
Original Path: trunk/freewrt/package/base-files/files/etc/init.d/rcS
File length: 417 byte(s)
Diff to previous 2026
• /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 2026 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 16 22:35:24 2007 UTC (7 years ago) by tg
Original Path: trunk/freewrt/package/base-files/files/etc/init.d/rcS
File length: 367 byte(s)
Diff to previous 827
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 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/base-files/files/etc/init.d/rcS
File length: 87 byte(s)
Diff to previous 681
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 681 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 23 22:44:27 2006 UTC (7 years, 5 months ago) by wbx
Original Path: trunk/freewrt/package/base-files/files/etc/init.d/rcS
File length: 127 byte(s)
Diff to previous 191
move default to standard dir files

Revision 191 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 11 22:40:18 2006 UTC (7 years, 7 months ago) by tg
Original Path: trunk/freewrt/package/base-files/default/etc/init.d/rcS
File length: 127 byte(s)
Diff to previous 182
* 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 182 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 9 13:58:53 2006 UTC (7 years, 7 months ago) by wbx
Original Path: trunk/freewrt/package/base-files/default/etc/init.d/rcS
File length: 124 byte(s)
Diff to previous 1
* 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 1 - (view) (download) (annotate) - [select for diffs]
Added Sat May 27 15:00:14 2006 UTC (7 years, 9 months ago) by wbx
Original Path: trunk/freewrt/package/base-files/default/etc/init.d/rcS
File length: 332 byte(s)
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.

  Diffs between and
  Type of Diff should be a

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