Log of /branches/baselayout-1_12/sbin/functions.sh
Parent Directory
|
Revision Log
Revision
2046 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 24 19:27:27 2006 UTC
(7 years ago)
by
uberlord
File length: 19226 byte(s)
Diff to
previous 2042
Ensure that we call halt.sh in a new shell with LC_ALL=C so that we don't
load any locale information which may stop us unmounting /usr, #128848
and #133090.
Don't set clock for OpenVZ systems, #133265 thanks to Kir Kolyshkin.
Don't remount / in checkroot for unionfs /, #129975 thanks to Daniel.
Don't stop net interfaces / is unionfs and a branch is network mounted.
Revision
1954 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 3 09:43:42 2006 UTC
(7 years, 1 month ago)
by
uberlord
File length: 18993 byte(s)
Diff to
previous 1935
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, 2 months ago)
by
uberlord
File length: 19199 byte(s)
Diff to
previous 1914
$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
1793 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 6 14:49:52 2006 UTC
(7 years, 4 months ago)
by
uberlord
File length: 18853 byte(s)
Diff to
previous 1781
Use ${DEFAULTLEVEL} if ${SOFTLEVEL} is boot, shutdown, reboot or single
in add_suffix.
Sync style changes in functions.sh
Revision
1768 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 21 11:11:28 2005 UTC
(7 years, 5 months ago)
by
uberlord
File length: 18617 byte(s)
Diff to
previous 1630
Add new variable RC_DOWN_INTERFACE and documentation so that interfaces
are kept up for Wake On LAN support, #113880.
Revision
1587 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 27 16:16:03 2005 UTC
(7 years, 6 months ago)
by
uberlord
File length: 18491 byte(s)
Diff to
previous 1578
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
1578 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 19 00:08:42 2005 UTC
(7 years, 7 months ago)
by
vapier
File length: 18497 byte(s)
Diff to
previous 1550
move NORMAL to the last colored variable set so that running `set -x ; source functions.sh` doesnt show up funky as pointed out by solar
Revision
1418 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Aug 18 09:45:13 2005 UTC
(7 years, 9 months ago)
by
uberlord
File length: 18212 byte(s)
Diff to
previous 1415
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
625 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 18 23:03:19 2004 UTC
(8 years, 7 months ago)
by
agriffis
Original Path:
trunk/sbin/functions.sh
File length: 13760 byte(s)
Diff to
previous 622
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
605 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 13 17:13:49 2004 UTC
(8 years, 7 months ago)
by
agriffis
Original Path:
trunk/sbin/functions.sh
File length: 12976 byte(s)
Diff to
previous 602
Install net.modules.d to /lib/rcscripts instead of /etc so we
don't have to deal with CONFIG_PROTECT
Fix diff code in modules_load so it can identify which functions
have been modified
Fix fallback mechanism in iface_start so that it works correctly
and doesn't report a bogus error message when trying the fallback
Get rid of need_begin trickery in iface_stop
Simplify eend processing in dhcp modules
Implement eindent, eoutdent, esetdent in functions.sh and adjust
net-scripts to use them.
Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use
RC_INDENTATION and to work better on serial terminals
Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
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: |
|