Log of /branches/common-nfo/package/dnsmasq/files/dnsmasq.init
Parent Directory
|
Revision Log
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: 328 byte(s)
Diff to
previous 2653
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
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/dnsmasq/files/dnsmasq.init
File length: 328 byte(s)
Diff to
previous 2642
• 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
2509 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon May 14 18:19:25 2007 UTC
(6 years, 9 months ago)
by
tg
Original Path:
trunk/freewrt/package/dnsmasq/files/dnsmasq.init
File length: 309 byte(s)
Diff to
previous 2485
by request of wbx@, add a clause
| autostop) ;;
to all cases inside all init scripts so that we won't have any
errors on shutdown. the alternative would be
| autostop) exec $0 stop "$@" ;;
of course, for packages that want it.
also bump all patchlevels again *sigh*
attention: mechanical commit. please read diff and fix breakage
if you are package maintainer.
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/dnsmasq/files/dnsmasq.init
File length: 296 byte(s)
Diff to
previous 1387
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
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/dnsmasq/files/dnsmasq.init
File length: 303 byte(s)
Diff to
previous 181
* 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
181 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Jul 9 10:57:58 2006 UTC
(7 years, 7 months ago)
by
wbx
Original Path:
trunk/freewrt/package/dnsmasq/files/dnsmasq.init
File length: 292 byte(s)
Diff to
previous 114
* 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
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.