Log of /branches/baselayout-1_12/sbin/runscript.sh
Parent Directory
|
Revision Log
Revision
2089 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 14 08:46:16 2006 UTC
(7 years ago)
by
uberlord
File length: 18330 byte(s)
Diff to
previous 2036
Fix "before net" dependencies, #135872 thanks to Oldrich Jedlicka.
pppd.sh now uses passwordfd instead of very nasty regex stuff,
thanks to Oldrich Jedlicka, Alin Nastac and me :), #134337
Revision
2024 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 4 09:07:02 2006 UTC
(7 years, 1 month ago)
by
uberlord
File length: 18316 byte(s)
Diff to
previous 2023
RC_COLDPLUG is now just a yes|no setting and the service list allowed
is now in RC_PLUG_SERVICES. New RC_HOTPLUG setting similar to RC_COLDPLUG
is now in place too.
Revision
1959 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 5 17:44:34 2006 UTC
(7 years, 2 months ago)
by
uberlord
File length: 17619 byte(s)
Diff to
previous 1954
runscript.sh now stores the fact that it failed to to /dev/.rcsysinit
existing in the directory /dev/.rcafterinit. rc adds services in
/dev/.rcafterinit to the boot list and then rm -f's that directory. This
solves the issue of udev-089 forcing coldplug removal.
Revision
1954 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 3 09:43:42 2006 UTC
(7 years, 2 months ago)
by
uberlord
File length: 17452 byte(s)
Diff to
previous 1948
runscript.sh now has a --nodeps option so that no depends are checked
when starting and stopping a service.
net.lo and system modules now support resolvconf instead of using our
own internal system.
DHCP and PPP clients no longer have helper scripts. As such they don't
change service status at all. Moved helpers.d/functions back into net.lo
Moved {get,save}_options from functions.sh to rc-services.sh
Removed whole load of crud from hostname init script, fixes #38172 again
and #122794. Also, it's no longer a critical service as defined by rc.
Added net modules for ccwgroup (s390 qeth ethernet) and br2684ctl
(speedtouch usb).
Removed xargs and find from all net scripts as /usr maybe net mounted,
#107260.
Punted the domainname script. Functionality has been in conf.d/net so you
can do this.
ppd module now checks to see if link exists if prefixed with /, #126916.
Revision
1935 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 2 17:34:25 2006 UTC
(7 years, 3 months ago)
by
uberlord
File length: 16921 byte(s)
Diff to
previous 1859
$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
1840 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 25 14:14:02 2006 UTC
(7 years, 4 months ago)
by
uberlord
File length: 17044 byte(s)
Diff to
previous 1839
New variable RC_ULIMIT applies ulimit commands before starting a service.
This should be configured in /etc/conf.d/foo for service foo, but can also
be configured in /etc/conf.d/rc on a global basis.
RC_DAEMON now works in a similar way, instead of RC_DAEMON_foo.
Fixes, #120151.
Revision
1835 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 20 09:59:27 2006 UTC
(7 years, 4 months ago)
by
uberlord
File length: 16716 byte(s)
Diff to
previous 1834
Fix quoting in iwconfig, #119629.
Fix process pid selection in rc-daemon.sh, #119631.
Both of the above thanks to Dominik Buerkle.
init scripts no longer run during the sysinit runlevel, #118419.
Thanks to Greg KH and the Linux Hotplug mailing list for advice.
Revision
1819 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 13 12:07:01 2006 UTC
(7 years, 5 months ago)
by
uberlord
File length: 17666 byte(s)
Diff to
previous 1814
Services that need a service which is inactive at boot are now scheduled
to start when the inactive service starts, #118801.
Revision
1800 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 11 12:49:38 2006 UTC
(7 years, 5 months ago)
by
uberlord
File length: 16459 byte(s)
Diff to
previous 1799
runscript.sh now traps interrupt signals and rolls back its status to what
it was when before it started.
bonding module now supports space seperated and array variables, #118590.
Revision
1799 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 10 16:15:21 2006 UTC
(7 years, 5 months ago)
by
uberlord
File length: 15229 byte(s)
Diff to
previous 1796
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
1587 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 27 16:16:03 2005 UTC
(7 years, 7 months ago)
by
uberlord
File length: 15232 byte(s)
Diff to
previous 1585
New net scripts depend calls - functions, variables and provide.
This saves having to create 3 seperate functions in each module which means
a saving of around 600-800 bytes per module.
Split apipa out of arping module due to user demand for seperate
functionality.
arping module now works correctly.
runscript sets RC_KILL_CHILDREN=no when restarting a service, otherwise
things like your ssh session get killed.
adsl module supports new rp-pppoe-3.6 ebuild, #102820
Config profile is now changed correctly when doing 'rc foo' and you're in
the default runlevel, #101105
Revision
1441 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 31 09:32:11 2005 UTC
(7 years, 9 months ago)
by
uberlord
File length: 15003 byte(s)
Diff to
previous 1418
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
1418 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 18 09:45:13 2005 UTC
(7 years, 10 months ago)
by
uberlord
File length: 14829 byte(s)
Diff to
previous 1380
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
1353 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 26 18:12:44 2005 UTC
(7 years, 10 months 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
(7 years, 10 months 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
(7 years, 10 months ago)
by
uberlord
File length: 14762 byte(s)
Diff to
previous 1333
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
1314 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 18 07:26:06 2005 UTC
(7 years, 11 months ago)
by
uberlord
File length: 15210 byte(s)
Diff to
previous 1298
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
1267 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 1 20:40:29 2005 UTC
(7 years, 11 months ago)
by
uberlord
Original Path:
trunk/sbin/runscript.sh
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
1179 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 19 15:23:43 2005 UTC
(8 years, 1 month ago)
by
uberlord
Original Path:
trunk/sbin/runscript.sh
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
1086 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 14 09:32:33 2005 UTC
(8 years, 2 months ago)
by
uberlord
Original Path:
trunk/sbin/runscript.sh
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
915 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 4 10:36:39 2005 UTC
(8 years, 4 months ago)
by
uberlord
Original Path:
trunk/sbin/runscript.sh
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
670 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 4 16:20:25 2004 UTC
(8 years, 7 months ago)
by
uberlord
Original Path:
trunk/sbin/runscript.sh
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
625 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 18 23:03:19 2004 UTC
(8 years, 8 months ago)
by
agriffis
Original Path:
trunk/sbin/runscript.sh
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.
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.
| Sticky Revision: |
|