diff options
author | Christian Heim <phreak@gentoo.org> | 2006-03-11 13:39:43 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2006-03-11 13:39:43 +0000 |
commit | 44feb9b70cd2728c7cfcf353df42af751f710a15 (patch) | |
tree | 16d085236833fb05917d891af31a7e6024238596 /net-scripts/init.d/net.lo | |
parent | Merging r1939 (diff) | |
download | baselayout-vserver-44feb9b70cd2728c7cfcf353df42af751f710a15.tar.gz baselayout-vserver-44feb9b70cd2728c7cfcf353df42af751f710a15.tar.bz2 baselayout-vserver-44feb9b70cd2728c7cfcf353df42af751f710a15.zip |
Merging r1943
svn path=/baselayout-vserver/branches/baselayout-1_12/; revision=278
Diffstat (limited to 'net-scripts/init.d/net.lo')
-rwxr-xr-x | net-scripts/init.d/net.lo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net-scripts/init.d/net.lo b/net-scripts/init.d/net.lo index 028f8c7..0ee6262 100755 --- a/net-scripts/init.d/net.lo +++ b/net-scripts/init.d/net.lo @@ -437,6 +437,11 @@ modules_load() { MODULE="${MODULES[i]}" ${MODULE}_depend + # expose does exactly the same thing as depend + # However it is more "correct" as it exposes things to other modules + # instead of depending on them ;) + is_function "${MODULES[i]}_expose" && ${MODULES[i]}_expose + # If no provide is given, assume module name if is_function "${MODULES[i]}_provide" ; then PROVIDES[i]="$(${MODULES[i]}_provide)" |