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

Log of /trunk/sbin/depscan.sh

Parent Directory Parent Directory | Revision Log Revision Log



Revision 1985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 15 17:14:13 2006 UTC (8 years, 7 months ago) by vapier
File length: 2406 byte(s)
Diff to previous 1935
improve wording in clock skew message #130040 by Gordon

Revision 1935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 2 17:34:25 2006 UTC (8 years, 8 months ago) by uberlord
File length: 2361 byte(s)
Diff to previous 1829
    $myservice is now deprecated for init scripts.
    $SVCNAME should be used instead and is read-only so it cannot be
    clobbered.

    Several variables in global scope that provided functions rely on,
    such as BOOTLEVEL, SOFTLEVEL and svcdir are now read only for init
    scripts.

    depscan.sh now accepts the --svcdir option so that svcdir can now be
    specified as the variable is marked readonly in functions.sh. Splash
    programs will have to be updated.

Revision 1829 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 18 10:32:31 2006 UTC (8 years, 10 months ago) by uberlord
File length: 2119 byte(s)
Diff to previous 1825
Services should not get stuck in rc anymore, #119242.

Revision 1825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 10:49:28 2006 UTC (8 years, 10 months ago) by uberlord
File length: 2079 byte(s)
Diff to previous 1799
Renamed restart in $svcdir to scheduled as it makes much more sense.

Revision 1799 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 16:15:21 2006 UTC (8 years, 10 months ago) by uberlord
File length: 2077 byte(s)
Diff to previous 1519
    Removed runlevel dependancies from runscript.sh as they're now in rc.

    runscript.sh now has much better locking, #118418.

    We now store services to restart when we end up as inactive from a restart
    or we were stopped with IN_BACKGROUND=true, #112088.

    We no longer stop and start services already running on runlevel change if
    they're in the runlevel we're changing too.

    We can now wait_sevice on services started outside of rc.

    rc-status now reports "Could not locate" instead of "Could not local",
    thanks to Christian Heim.

Revision 1519 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 12 16:36:48 2005 UTC (9 years, 2 months ago) by azarah
File length: 2067 byte(s)
Diff to previous 1447
Lots of syntax and quoting fixes.

Revision 1447 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 31 20:42:55 2005 UTC (9 years, 2 months ago) by azarah
File length: 2068 byte(s)
Diff to previous 1441
Use /sbin/functions.sh instead of /etc/init.d/functions.sh.

Revision 1441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 31 09:32:11 2005 UTC (9 years, 2 months ago) by uberlord
File length: 2074 byte(s)
Diff to previous 1393
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 1393 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 7 11:06:46 2005 UTC (9 years, 3 months ago) by azarah
File length: 2077 byte(s)
Diff to previous 1390
Remove last remainder of previous 'fix'.

Revision 1390 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 6 11:14:09 2005 UTC (9 years, 3 months ago) by azarah
File length: 2124 byte(s)
Diff to previous 1388
Revert 'mtime' changes to depscan.sh, and just make it warn if it detects
that there are files with mtime in the future.


Revision 1388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 6 03:10:31 2005 UTC (9 years, 3 months ago) by azarah
File length: 1953 byte(s)
Diff to previous 1382
Try a workaround for the "mtime in future" issues we have with depscan.sh.

Revision 1382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 5 11:16:26 2005 UTC (9 years, 3 months ago) by uberlord
File length: 1605 byte(s)
Diff to previous 1337
Added # vim:ts=4 to all net-script files and re-indented

/dep{cache,tree} are now chmodded 0644 so users can read them

Revision 1337 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 22 00:24:27 2005 UTC (9 years, 4 months ago) by vapier
File length: 1569 byte(s)
Diff to previous 1182
add a --debug option to depscan.sh

Revision 1182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 00:14:12 2005 UTC (9 years, 6 months ago) by azarah
File length: 1518 byte(s)
Diff to previous 1181
Fixup sbin/{depscan.sh,modules-update} to use is_older_than() for mtime
logic.  Some small tweaks regarding 2.6 systems and modules-update.


Revision 1181 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 19 19:59:04 2005 UTC (9 years, 6 months ago) by uberlord
File length: 1512 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, 6 months ago) by uberlord
File length: 1505 byte(s)
Diff to previous 760
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 760 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 7 01:56:58 2004 UTC (9 years, 11 months ago) by uberlord
File length: 1475 byte(s)
Diff to previous 652
added rc-script status "stopping"
now creates starting stopping and inactive directories in $svcdir


Revision 652 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 31 10:43:06 2004 UTC (10 years ago) by azarah
File length: 1448 byte(s)
Diff to previous 624
Do not delete depscan and envupdate caches on reboot, as this should
improve bootup times - works nicely with the '-u' parameters of both.
Also move the '-u' parameter test of depscan.sh after the directory
exist test, else /started/, etc do not exist.


Revision 624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 17:35:45 2004 UTC (10 years, 1 month ago) by vapier
File length: 1448 byte(s)
Diff to previous 589
only run cache-building scripts when the cache is out of date #67976


Revision 589 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 6 00:08:49 2004 UTC (10 years, 1 month ago) by vapier
File length: 1137 byte(s)
Diff to previous 541
have depscan.sh call eend when it is done running #59694


Revision 541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 23 06:39:42 2004 UTC (10 years, 3 months ago) by vapier
File length: 1138 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, 7 months ago) by vapier
File length: 1146 byte(s)
Diff to previous 481
update copyright years


Revision 481 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 13 00:20:03 2004 UTC (10 years, 7 months ago) by agriffis
File length: 1194 byte(s)
Diff to previous 469
Update to rc-scripts version 1.4.7.  Fix bug 47218 (net.eth0 broken for vlans) with patch provided by Andy Dustman.  Fix bug 47250 (depscan.sh fails to create /var/lib/init.d/* directories) with patch from Terje Bergstrvm.


Revision 469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 26 17:29:43 2004 UTC (10 years, 8 months ago) by azarah
File length: 1194 byte(s)
Diff to previous 462
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 462 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 8 11:42:21 2004 UTC (10 years, 9 months ago) by azarah
File length: 1193 byte(s)
Diff to previous 454
Fix /sbin/depscan.sh, /sbin/functions.sh and /sbin/rc to use mkdir rather
than install, as newer versions of install is located in /usr/bin.  This
closes bug #39648.


Revision 454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 29 01:00:27 2003 UTC (10 years, 10 months ago) by azarah
File length: 1195 byte(s)
Diff to previous 442
Update /sbin/depscan.sh, /sbin/env-update.sh, src/awk/cachedepends.awk,
src/awk/gendepends.awk and src/awk/genenviron.awk to use ENVIRON rather
then gawk -v.  Also add some tests to see if we got the environment
variables.


Revision 442 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 15 15:42:10 2003 UTC (11 years ago) by azarah
File length: 1199 byte(s)
Diff to previous 360
Add a warning to cachedepends.awk if a rc-script's name ends in
'.sh', bug #33134.  Add better error checking to /sbin/depscan.sh.


Revision 360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 12 21:23:05 2003 UTC (11 years, 6 months ago) by azarah
File length: 1275 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, 6 months ago) by azarah
File length: 1260 byte(s)
Diff to previous 297
new release; supporting parallel startup and new dep system with many fixes


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


Revision 268 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 18 15:15:08 2002 UTC (12 years ago) by azarah
File length: 652 byte(s)
Diff to previous 266
add some checks


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


Revision 261 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 18 09:02:26 2002 UTC (12 years ago) by azarah
File length: 614 byte(s)
Diff to previous 260
fix using /usr/bin/find


Revision 260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 17 20:13:01 2002 UTC (12 years ago) by azarah
File length: 606 byte(s)
Diff to previous 258
add functions.awk


Revision 258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 17 17:11:09 2002 UTC (12 years ago) by azarah
File length: 567 byte(s)
Diff to previous 247
new version with super fast depscan.sh


Revision 247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 13 19:20:23 2002 UTC (12 years, 1 month ago) by azarah
File length: 7444 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 (12 years, 1 month ago) by azarah
File length: 7470 byte(s)
Diff to previous 219
bugfixes


Revision 219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 11 21:44:53 2002 UTC (12 years, 3 months ago) by azarah
File length: 7580 byte(s)
Diff to previous 208
resolve broken pipe issue in depscan.sh


Revision 208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 22 21:26:17 2002 UTC (12 years, 4 months ago) by azarah
File length: 7425 byte(s)
Diff to previous 206
small updates to awk regexp


Revision 206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 22 19:04:42 2002 UTC (12 years, 4 months ago) by azarah
File length: 7423 byte(s)
Diff to previous 205
fixes/speed improvements


Revision 205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 22 04:27:42 2002 UTC (12 years, 4 months ago) by azarah
File length: 7361 byte(s)
Diff to previous 204
small fixes


Revision 204 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 22 00:21:21 2002 UTC (12 years, 4 months ago) by azarah
File length: 7420 byte(s)
Diff to previous 203
small fixes; add user cyrus


Revision 203 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 21 22:06:06 2002 UTC (12 years, 4 months ago) by azarah
File length: 7412 byte(s)
Diff to previous 182
fixes


Revision 182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 12 21:48:18 2002 UTC (12 years, 6 months ago) by azarah
File length: 7049 byte(s)
Diff to previous 178
add headers


Revision 178 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 11 09:13:19 2002 UTC (12 years, 6 months ago) by azarah
File length: 6890 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, 7 months ago) by azarah
File length: 6872 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, 7 months ago) by azarah
File length: 5932 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