/[baselayout]/branches/baselayout-1_12/sbin/rc-daemon.sh
Gentoo

Log of /branches/baselayout-1_12/sbin/rc-daemon.sh

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 1809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 12 11:28:13 2006 UTC (8 years, 8 months ago) by uberlord
File length: 10964 byte(s)
Diff to previous 1807
Always call rc_stop_daemon on start failure to clean up

Revision 1807 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 12 08:53:58 2006 UTC (8 years, 8 months ago) by uberlord
File length: 11007 byte(s)
Diff to previous 1802
rc-status now loads a config profile and we no longer call a service stop function when it's not running.

Revision 1802 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 11 16:04:01 2006 UTC (8 years, 8 months ago) by uberlord
File length: 11180 byte(s)
Diff to previous 1785
    start-stop-daemon now waits for upto 1 second if it returns 0 and we
    don't have a valid process.


Revision 1785 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 4 07:16:37 2006 UTC (8 years, 8 months ago) by uberlord
File length: 10854 byte(s)
Diff to previous 1784
more copyright updates

Revision 1784 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 3 17:00:49 2006 UTC (8 years, 8 months ago) by uberlord
File length: 10854 byte(s)
Diff to previous 1781
More bash-3.1 fixes

Revision 1781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 18:46:45 2006 UTC (8 years, 8 months ago) by vapier
File length: 10825 byte(s)
Diff to previous 1583
update copyright years

Revision 1583 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 20 11:59:02 2005 UTC (8 years, 11 months ago) by uberlord
File length: 10825 byte(s)
Diff to previous 1581
Fixed stopping when no process to stop

Revision 1581 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 19 17:09:12 2005 UTC (8 years, 11 months ago) by uberlord
File length: 10738 byte(s)
Diff to previous 1562
rc-daemon.sh now kills children correctly.

Revision 1562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 11 11:44:55 2005 UTC (8 years, 11 months ago) by uberlord
File length: 10379 byte(s)
Diff to previous 1505
    arping now dis-regards 0.0.0.0 and 0 addresses, #108737.

    dhcpcd now allows the user to configure the -c script option, #108345.

    bash doesn't handle floats, so we eumlate it. Fixes the issue
    where some daemons didn't stop, #107492. Thanks to Giampaolo Tomassoni.


Revision 1505 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 8 14:49:44 2005 UTC (9 years ago) by uberlord
File length: 10062 byte(s)
Diff to previous 1442
Added ifplugd module, but we prefer netplug by default

Revision 1442 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 31 15:10:38 2005 UTC (9 years ago) by uberlord
File length: 9865 byte(s)
Diff to previous 1441
Protect variables when stopping a script on update status

Revision 1441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 31 09:32:11 2005 UTC (9 years ago) by uberlord
File length: 9861 byte(s)
Diff to previous 1423
service status requests (either by /etc/init.d/foo status or rc-status)
now update the service status by checking daemons and/or pidfiles to check if they are still running or not. To update the status in your own code,
source "${svclib}/sh/rc-daemon.sh" and call
update_service_status "${service}"

Trimmed $Header$ from a few files

Revision 1423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 24 09:08:01 2005 UTC (9 years, 1 month ago) by uberlord
File length: 7527 byte(s)
Diff to previous 1418
rc-daemon now handles --signal correct - fixes #103182

Revision 1418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 18 09:45:13 2005 UTC (9 years, 1 month ago) by uberlord
File length: 7703 byte(s)
Diff to previous 1400
RC_AUTO_INTERFACE defaults to NO - but we still default to DHCP

consoletype is now cached. This has the benefit of being very slightly
faster and you now get coloured text for parallel startup

Parallel startup also does parallel shutdown as well

You're now warned if you're using a deprecated conf.d/net syntax

Revision 1400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 11 16:56:52 2005 UTC (9 years, 1 month ago) by uberlord
File length: 7776 byte(s)
Diff to previous 1370
Add support for --pid  and --pidfile= in rc-daemon.sh

Revision 1370 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 4 10:50:16 2005 UTC (9 years, 1 month ago) by uberlord
File length: 7716 byte(s)
Diff to previous 1361
interface state directories are now created with -m 0755 to ensure that
everyone can read them

rc-daemon.sh now supports multiple cmds - partial fix for #98745

Revision 1361 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 16:49:22 2005 UTC (9 years, 1 month ago) by uberlord
File length: 7388 byte(s)
Diff to previous 1298
rc-daemon now works with mysql - fixes #100982, thanks to bju from the forums

Revision 1298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 14 10:59:34 2005 UTC (9 years, 2 months ago) by azarah
File length: 7387 byte(s)
Diff to previous 1082
Branch baselayout-1.12.

Revision 1082 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 11 09:59:19 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 7387 byte(s)
Diff to previous 1077
modified to use bash_variable


Revision 1077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 8 17:13:43 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 7345 byte(s)
Diff to previous 1075
added a bash_variable to functions.sh which converts the given string
into a variable that bash can use - fixes #88175

net scripts can only launch if we're not in ${BOOTLEVEL}


Revision 1075 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 16:54:28 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 7277 byte(s)
Diff to previous 1073
removed test vars


Revision 1073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 16:49:32 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 7626 byte(s)
Diff to previous 1072
regressed by mistake - here is correct version


Revision 1072 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 1 16:33:16 2005 UTC (9 years, 5 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 6432 byte(s)
Diff to previous 1055
RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified
launcher - like valgrind or strace. Handy for debugging/auditing.
Thanks to Rob Holland for the idea.

Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant
as there is no guarantee that the current ESSID is the one we started with
Also, we may not have an ESSID at all...


Revision 1055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 18 11:32:29 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 6660 byte(s)
Diff to previous 1047
wrap pidof so we can fudge calls to weird programs like rpc.nfsd which only
with with pidof when the rpc. is removed


Revision 1047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 11 14:23:17 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 5867 byte(s)
Diff to previous 1031
prepend rc-daemon.sh functions with rc_ to avoid name conflicts


Revision 1031 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 9 17:25:14 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 5813 byte(s)
Diff to previous 1028
changed from $( cat ${file} ) to $( < ${file ) in net-scripts

fixed ChangeLog corruption

rc-daemon.sh now works with the env program


Revision 1028 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 4 16:40:52 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 5555 byte(s)
Diff to previous 1027
fixed stopping logic causes by last commit


Revision 1027 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 4 16:22:56 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 5537 byte(s)
Diff to previous 1026
fixed starting bug with sshd


Revision 1026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 4 14:16:17 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 5539 byte(s)
Diff to previous 1017
rc-daemon.sh now waits for RC_WAIT_ON_START seconds and checks if the
daemon is still running - if not, call stop() or stop_daemon() to clean up


Revision 1017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 11:54:48 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 4732 byte(s)
Diff to previous 1016
rc-daemon.sh now support stoppings with a custom signal


Revision 1016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 3 11:24:40 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 4644 byte(s)
Diff to previous 1013
rc-daemon.sh now checks to see if a given pid matches the pid of a given
executable before stopping it


Revision 1013 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 23:02:42 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 4217 byte(s)
Diff to previous 1011
net_service() now returns 1 for non net-services - fixes bug #83352

rc-daemon.sh now uses requote()


Revision 1011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 20:58:24 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 4380 byte(s)
Diff to previous 1009
rc-daemon.sh can now be called with spaces in parameters


Revision 1009 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 14:47:47 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 4366 byte(s)
Diff to previous 1005
improved killing process children - we now kill them all in one hit instead
of doing them seperately


Revision 1005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 1 18:06:19 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 4709 byte(s)
Diff to previous 1004
support --oknodo and --test for start-stop-daemon calls


Revision 1004 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 1 17:59:12 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/sbin/rc-daemon.sh
File length: 4501 byte(s)
Diff to previous 541
rc-daemon.sh now provides a working wrapper for start-stop-daemon
fixes bug #7198

removed ps calls from net scripts


Revision 541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 06:39:42 2004 UTC (10 years, 1 month ago) by vapier
Original Path: trunk/sbin/rc-daemon.sh
File length: 7296 byte(s)
Diff to previous 484
fix copyright lines


Revision 484 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 21 17:09:18 2004 UTC (10 years, 5 months ago) by vapier
Original Path: trunk/sbin/rc-daemon.sh
File length: 7304 byte(s)
Diff to previous 427
update copyright years


Revision 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 26 17:48:23 2003 UTC (10 years, 11 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7352 byte(s)
Diff to previous 365
Do not use depinfo_<scriptname>() functions to set rc_<type> variables, bug #24092


Revision 365 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 21 08:00:55 2003 UTC (11 years, 4 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7368 byte(s)
Diff to previous 362
bugfixes


Revision 362 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 20:30:05 2003 UTC (11 years, 4 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7352 byte(s)
Diff to previous 359
fix net.ppp0 issues for kppp; dependency fixes


Revision 359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 11 23:32:47 2003 UTC (11 years, 4 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7359 byte(s)
Diff to previous 353
new release; supporting parallel startup and new dep system with many fixes


Revision 353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 27 20:17:15 2003 UTC (11 years, 5 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7223 byte(s)
Diff to previous 297
updates from Rach


Revision 297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 21:32:44 2003 UTC (11 years, 8 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7226 byte(s)
Diff to previous 280
lot of changes; hopeful release of rc-scripts-1.4.3.0


Revision 280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 4 01:29:01 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7226 byte(s)
Diff to previous 275
fix sourcing of helper scripts


Revision 275 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Nov 29 06:04:34 2002 UTC (11 years, 9 months ago) by azarah
Original Path: trunk/sbin/rc-daemon.sh
File length: 7203 byte(s)
move daemon stuff to rc-daemon.sh


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

Sticky Revision:

  ViewVC Help
Powered by ViewVC 1.1.20