/[baselayout]/trunk/sbin/runscript.sh
Gentoo

Log of /trunk/sbin/runscript.sh

Parent Directory Parent Directory | Revision Log Revision Log



Revision 1380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 5 05:49:16 2005 UTC (8 years, 11 months ago) by uberlord
File length: 14459 byte(s)
Diff to previous 1353
Rationalise if/then/else login in runscript.sh svc_start() and svc_stop()

Revision 1353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 26 18:12:44 2005 UTC (9 years ago) by uberlord
File length: 14678 byte(s)
Diff to previous 1348
 Fixed failure in runscript.sh to proceed when a non needed dependency
    (ie use, after, before) failed to start.

Revision 1348 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 26 06:34:06 2005 UTC (9 years ago) by uberlord
File length: 14745 byte(s)
Diff to previous 1339
    Removed the parallel depend for init scripts and related functions.
    The RC_PARALLEL_STARTUP works well for all - no need for init scripts to
    state if they parallel or not.


Revision 1339 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 22 08:34:12 2005 UTC (9 years ago) by uberlord
File length: 14762 byte(s)
Diff to previous 1334
    When a service is stopped, the IN_BACKGROUND variable is cleared
    before any dependencies are stopped so they are not marked inactive.
    The IN_BACKGROUND variable is then restored so the parent script can be
    marked inactive.


Revision 1334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 21 23:03:47 2005 UTC (9 years ago) by uberlord
File length: 14603 byte(s)
Diff to previous 1330
Fixed some start/stop/restart logic for #99663.

Revision 1330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 21 20:23:23 2005 UTC (9 years ago) by azarah
File length: 15170 byte(s)
Diff to previous 1313
Fix hangs in bootup, bug #99663.

Revision 1313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 18 07:20:24 2005 UTC (9 years ago) by uberlord
File length: 15210 byte(s)
Diff to previous 1271
    Changed wpa-supplicant to wpa_supplicant when reporting that it is not
    installed. Fixes #99381

    Fixed some startup problems caused by a mixture of inactive +
    begin_service/end_service functions.

Revision 1271 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 3 16:24:44 2005 UTC (9 years ago) by uberlord
File length: 14925 byte(s)
Diff to previous 1267
    Fixed module depends in net.lo

    Remove the 'no net scripts in boot runlevel' restriction as we now
    have a hotplug policy setup instead


Revision 1267 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 1 20:40:29 2005 UTC (9 years ago) by uberlord
File length: 15274 byte(s)
Diff to previous 1248
   Minor tweaks to all dhcp modules - basically better quoting so that
   the eval  calls work better

   pump can now be backgrounded

   Tweaked the dhcp helpers so that more code is shared

   A few tweaks to runscript.sh and rc-services.sh to avoid races

Revision 1248 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 17 18:59:19 2005 UTC (9 years, 1 month ago) by uberlord
File length: 15261 byte(s)
Diff to previous 1236
runscript and rc-service fixes for inactive status

Revision 1236 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 13 10:21:12 2005 UTC (9 years, 1 month ago) by uberlord
File length: 15294 byte(s)
Diff to previous 1199
etc/{resolv,ntp,yp}.conf now link to /var/lib/net-scripts

Revision 1199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 26 13:39:00 2005 UTC (9 years, 2 months ago) by uberlord
File length: 15326 byte(s)
Diff to previous 1185
report ${myservice} instead of $0 when disallowing net scripts to work in
the boot runlevel - fixes #91534


Revision 1185 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 11:04:22 2005 UTC (9 years, 2 months ago) by uberlord
File length: 15318 byte(s)
Diff to previous 1181
added #!/bin/bash or #!/bin/sh to modules and helpers so they now get
nice syntax highlighting and indenting


Revision 1181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 19:59:04 2005 UTC (9 years, 2 months ago) by uberlord
File length: 15164 byte(s)
Diff to previous 1179
Fixed init runscript.sh output when RC_PARALLEL_STARTUP is set

runscript.sh now checks if service was made inactive on start - if so, exit


Revision 1179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 15:23:43 2005 UTC (9 years, 2 months ago) by uberlord
File length: 14727 byte(s)
Diff to previous 1172
Merged Paul Pacheco's parallel startup #69854 and modules update
#55329 patches

If RC_PARALLEL_STARTUP==yes then we no longer output einfo/ebegin
messages as they don't line up on screen correctly - instead we output
service ${myservice} starting/started/stopping/stopped/failed


Revision 1172 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 17 00:40:58 2005 UTC (9 years, 2 months ago) by vapier
File length: 13519 byte(s)
Diff to previous 1143
add the -f option to the unset exit


Revision 1143 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 14 21:07:53 2005 UTC (9 years, 2 months ago) by vapier
File length: 13516 byte(s)
Diff to previous 1141
touchup syntax error message


Revision 1141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 14 21:02:51 2005 UTC (9 years, 2 months ago) by vapier
File length: 13520 byte(s)
Diff to previous 1136
make sure devs dont call exit in init.d scripts #85298


Revision 1136 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 14 20:35:07 2005 UTC (9 years, 2 months ago) by vapier
File length: 13369 byte(s)
Diff to previous 1113
simplify init.d syntax checking and allow users to run /etc/init.d/script status #85892


Revision 1113 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 29 03:05:23 2005 UTC (9 years, 2 months ago) by vapier
File length: 13292 byte(s)
Diff to previous 1086
export the service name for scripts to access #86348


Revision 1086 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 14 09:32:33 2005 UTC (9 years, 3 months ago) by uberlord
File length: 13264 byte(s)
Diff to previous 1080
Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006

If /proc/net/netlink does not exist then iproute2 will fail the
check_installed function with an appropriate error - Thanks to
Jeremy Huddleston for the patch.

If /proc/net/packet does not exist then wpa_supplicant will fail
check_installed function with an appropriate error

Background fixes for net.lo, udhcpc and wpa_supplicant


Revision 1080 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 10 01:15:34 2005 UTC (9 years, 3 months ago) by vapier
File length: 13037 byte(s)
Diff to previous 1077
have the status function of init.d scripts affect the exit value #88319 by Josh Nichols


Revision 1077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 8 17:13:43 2005 UTC (9 years, 3 months ago) by uberlord
File length: 13233 byte(s)
Diff to previous 1059
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 1059 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 21 10:14:54 2005 UTC (9 years, 4 months ago) by azarah
File length: 12894 byte(s)
Diff to previous 1013
Fix tracing for current service as list_depend_trace() was removed.


Revision 1013 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 23:02:42 2005 UTC (9 years, 4 months ago) by uberlord
File length: 12892 byte(s)
Diff to previous 915
net_service() now returns 1 for non net-services - fixes bug #83352

rc-daemon.sh now uses requote()


Revision 915 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 4 10:36:39 2005 UTC (9 years, 5 months ago) by uberlord
File length: 12890 byte(s)
Diff to previous 879
It's now possible to configure addresses and routes for the loopback
interface if required - however you cannot override our defaults

wpa_supplicant and iwconfig now loop for 5 seconds if essid is
not returned straight away

fixed depends error in run_script


Revision 879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 30 19:47:40 2005 UTC (9 years, 5 months ago) by vapier
File length: 12886 byte(s)
Diff to previous 847
style updates


Revision 847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 13 20:38:39 2005 UTC (9 years, 6 months ago) by uberlord
File length: 12952 byte(s)
Diff to previous 764
net dependancies corrected in runscript.sh - fixes #77839


Revision 764 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 18:46:39 2004 UTC (9 years, 7 months ago) by uberlord
File length: 12935 byte(s)
Diff to previous 760
added service_stopped function to make reading code easier and
trying to avoid race conditions


Revision 760 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 01:56:58 2004 UTC (9 years, 7 months ago) by uberlord
File length: 12940 byte(s)
Diff to previous 759
added rc-script status "stopping"
now creates starting stopping and inactive directories in $svcdir


Revision 759 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 6 23:34:55 2004 UTC (9 years, 7 months ago) by uberlord
File length: 12375 byte(s)
Diff to previous 747
added rc-script statuses "starting" and "inactive"
dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975


Revision 747 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 4 07:10:07 2004 UTC (9 years, 7 months ago) by vapier
File length: 11814 byte(s)
Diff to previous 697
last change to protect people was bogus


Revision 697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 15 18:02:57 2004 UTC (9 years, 8 months ago) by vapier
File length: 11909 byte(s)
Diff to previous 695
make sure people dont run runscript.sh directly


Revision 695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 15 16:23:41 2004 UTC (9 years, 8 months ago) by vapier
File length: 11817 byte(s)
Diff to previous 670
stop using /etc/conf.d/basic


Revision 670 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 4 16:20:25 2004 UTC (9 years, 8 months ago) by uberlord
File length: 11970 byte(s)
Diff to previous 654
   net-scripts/init.d/net.lo
    - we remove all added functions when restarting an interface
      this relies on the diff command being available

    added isdn support via the new ipppd module

    net-scripts/conf.d/net.example
    - added sample isdn setup

    net-scripts/conf.d/wireless.example
    - added better descriptions to the _sleep variables

    Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
    - fixed bug #70022


Revision 654 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 31 12:26:32 2004 UTC (9 years, 8 months ago) by azarah
File length: 11968 byte(s)
Diff to previous 647
Add the 'lo' option to RC_NET_STRICT_CHECKING to resolve bug #29225.


Revision 647 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 28 14:01:27 2004 UTC (9 years, 8 months ago) by vapier
File length: 12347 byte(s)
Diff to previous 625
use pam_console_apply on udev and dont run $(id) when we have $EUID


Revision 625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 23:03:19 2004 UTC (9 years, 9 months ago) by agriffis
File length: 12347 byte(s)
Diff to previous 541
Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
depend on RC_VERBOSE which defaults to no. Add --verbose to args
understood by runscript.sh.

Use veinfo and friends in net-scripts/init.d/net.lo when loading
modules since this information is confusing to users.

Always load global "modules" setting in following "modules_iface"
since this is a little easier for users to understand.


Revision 541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 06:39:42 2004 UTC (9 years, 11 months ago) by vapier
File length: 12311 byte(s)
Diff to previous 539
fix copyright lines


Revision 539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 20:35:37 2004 UTC (9 years, 11 months ago) by agriffis
File length: 12319 byte(s)
Diff to previous 538
Apply Spock's bootsplash patch from bug 45784.  This moves most of the splash functionality out of baselayout.


Revision 538 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 15:23:03 2004 UTC (9 years, 11 months ago) by agriffis
File length: 12416 byte(s)
Diff to previous 537
Fix bug 60719 (request for better error messages from runscript) by allowing errors to show on the screen when they're encountered in wrap_rcscript


Revision 537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 15:23:03 2004 UTC (9 years, 11 months ago) by agriffis
File length: 12385 byte(s)
Diff to previous 520
Fix bug 60719 (request for better error messages from runscript) by allowing errors to show on the screen when they're encountered in wrap_rcscript


Revision 520 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 10 03:37:29 2004 UTC (10 years ago) by agriffis
File length: 12330 byte(s)
Diff to previous 492
swap words "start" and "stop" in runscript.sh error message


Revision 492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 5 21:11:31 2004 UTC (10 years, 2 months ago) by agriffis
File length: 12330 byte(s)
Diff to previous 484
Fix bug 48595: Make sure $(id -u) is zero (root user) when running init scripts to avoid a lot of error messages.


Revision 484 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 21 17:09:18 2004 UTC (10 years, 3 months ago) by vapier
File length: 12224 byte(s)
Diff to previous 469
update copyright years


Revision 469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 26 17:29:43 2004 UTC (10 years, 4 months ago) by azarah
File length: 12225 byte(s)
Diff to previous 427
Update to enable checking of mtimes on rc-scripts, and auto running
depscan.sh if needed.  Also try to run depscan.sh when RC_GOT_DEPTREE_INFO
is not set instead of just erroring.


Revision 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 26 17:48:23 2003 UTC (10 years, 9 months ago) by azarah
File length: 12198 byte(s)
Diff to previous 422
Do not use depinfo_<scriptname>() functions to set rc_<type> variables, bug #24092


Revision 422 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 19 00:12:51 2003 UTC (10 years, 9 months ago) by azarah
File length: 12252 byte(s)
Diff to previous 420
More bootsplash fixes, bug #21019 (comment #21).


Revision 420 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 16 22:24:00 2003 UTC (10 years, 9 months ago) by azarah
File length: 12246 byte(s)
Diff to previous 419
Bootsplash fixes from Michael Aichler <micha@aichler.net>, (comment #15
and #16 from bug #21019).

Bootsplash coded did not play nice with boot profiles, so I fixed that
as well.  Some other style tweaks.


Revision 419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 14 19:03:15 2003 UTC (10 years, 9 months ago) by azarah
File length: 12252 byte(s)
Diff to previous 389
New release, version 1.4.3.11p2.  This add new bootsplash implementation, bug #21019.


Revision 389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 28 01:23:46 2003 UTC (11 years ago) by azarah
File length: 12155 byte(s)
Diff to previous 388
adelie fixes, add better logger support


Revision 388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 22 21:07:08 2003 UTC (11 years ago) by azarah
File length: 12035 byte(s)
Diff to previous 376
Adelie updates and some other fixes


Revision 376 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 16 18:27:55 2003 UTC (11 years ago) by azarah
File length: 12002 byte(s)
Diff to previous 363
more fixes


Revision 363 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 18 21:51:34 2003 UTC (11 years, 2 months ago) by azarah
File length: 11972 byte(s)
Diff to previous 360
fixes


Revision 360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 12 21:23:05 2003 UTC (11 years, 2 months ago) by azarah
File length: 11940 byte(s)
Diff to previous 359
some more fixes


Revision 359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 11 23:32:47 2003 UTC (11 years, 2 months ago) by azarah
File length: 12098 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, 3 months ago) by azarah
File length: 14849 byte(s)
Diff to previous 345
updates from Rach


Revision 345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 6 16:28:27 2003 UTC (11 years, 3 months ago) by azarah
File length: 14852 byte(s)
Diff to previous 330
various fixes; moved .c files to src


Revision 330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 28 15:45:35 2003 UTC (11 years, 4 months ago) by azarah
File length: 14495 byte(s)
Diff to previous 298
many fixes/optimizations


Revision 298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 23:06:22 2003 UTC (11 years, 6 months ago) by azarah
File length: 14495 byte(s)
Diff to previous 297
type-o fixor


Revision 297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 21:32:44 2003 UTC (11 years, 6 months ago) by azarah
File length: 14432 byte(s)
Diff to previous 296
lot of changes; hopeful release of rc-scripts-1.4.3.0


Revision 296 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 19:01:54 2003 UTC (11 years, 6 months ago) by azarah
File length: 14460 byte(s)
Diff to previous 295
new release


Revision 295 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 4 12:05:31 2003 UTC (11 years, 6 months ago) by azarah
File length: 14460 byte(s)
Diff to previous 294
fix some quotes


Revision 294 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 2 22:20:02 2003 UTC (11 years, 6 months ago) by azarah
File length: 13609 byte(s)
Diff to previous 280
small fixes and enhancements


Revision 280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 4 01:29:01 2002 UTC (11 years, 7 months ago) by azarah
File length: 13581 byte(s)
Diff to previous 275
fix sourcing of helper scripts


Revision 275 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 29 06:04:34 2002 UTC (11 years, 7 months ago) by azarah
File length: 13555 byte(s)
Diff to previous 272
move daemon stuff to rc-daemon.sh


Revision 272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 26 12:32:29 2002 UTC (11 years, 8 months ago) by azarah
File length: 13551 byte(s)
Diff to previous 266
add some flexiblity to net dependency


Revision 266 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 18 13:07:02 2002 UTC (11 years, 8 months ago) by azarah
File length: 13150 byte(s)
Diff to previous 247
change license


Revision 247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 13 19:20:23 2002 UTC (11 years, 9 months ago) by azarah
File length: 13160 byte(s)
Diff to previous 242
misc form updates


Revision 242 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 29 13:11:01 2002 UTC (11 years, 9 months ago) by azarah
File length: 13208 byte(s)
Diff to previous 215
bugfixes


Revision 215 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 6 19:57:01 2002 UTC (11 years, 11 months ago) by azarah
File length: 12965 byte(s)
Diff to previous 179
fix help output


Revision 179 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 12 02:54:42 2002 UTC (12 years, 2 months ago) by azarah
File length: 12849 byte(s)
Diff to previous 178
small fixes


Revision 178 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 11 09:13:19 2002 UTC (12 years, 2 months ago) by azarah
File length: 14607 byte(s)
Diff to previous 167
speed improvements; order fixes


Revision 167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 21 19:27:07 2002 UTC (12 years, 3 months ago) by azarah
File length: 15694 byte(s)
Diff to previous 161
more fixes


Revision 161 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Apr 5 23:18:27 2002 UTC (12 years, 3 months ago) by azarah
File length: 15561 byte(s)
move to /sbin


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:
(Current path doesn't exist after revision 2545)

  ViewVC Help
Powered by ViewVC 1.1.20