summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2005-11-05 06:31:33 +0000
committerChristian Heim <phreak@gentoo.org>2005-11-05 06:31:33 +0000
commitc19e259b2b3334adde61c3db89774b9db41b8704 (patch)
treed6aa04fd4bd07e9bb83abae6d63f7cb9c7b82c2f /net-scripts/net.modules.d/rename
parentMerging changes from baselayout 1583 (diff)
downloadbaselayout-vserver-c19e259b2b3334adde61c3db89774b9db41b8704.tar.gz
baselayout-vserver-c19e259b2b3334adde61c3db89774b9db41b8704.tar.bz2
baselayout-vserver-c19e259b2b3334adde61c3db89774b9db41b8704.zip
Merging changes between baselayout r1583 and r1596.
svn path=/baselayout-vserver/trunk/; revision=64
Diffstat (limited to 'net-scripts/net.modules.d/rename')
-rw-r--r--net-scripts/net.modules.d/rename33
1 files changed, 3 insertions, 30 deletions
diff --git a/net-scripts/net.modules.d/rename b/net-scripts/net.modules.d/rename
index ddab8b0..2e531b1 100644
--- a/net-scripts/net.modules.d/rename
+++ b/net-scripts/net.modules.d/rename
@@ -4,41 +4,14 @@
# Contributed by Roy Marples (uberlord@gentoo.org)
-# char* rename_provides(void)
-#
-# Returns a string to change module definition for starting up
-rename_provides() {
- echo "rename"
-}
-
# void rename_depend(void)
#
# Sets up the dependancies for the module
rename_depend() {
- after macchanger macnet
+ after macchanger
before wireless interface
-}
-
-# bool rename_check_installed(void)
-#
-# We are always installed
-rename_check_installed() {
- return 0
-}
-
-# bool rename_check_depends(void)
-#
-# Checks to see if we have the needed functions
-rename_check_depends() {
- return 0
-}
-
-# char* rename_get_vars(char *interface)
-#
-# Returns a string spaced with possible user set
-# configuration variables
-rename_get_vars() {
- echo "rename_$1"
+ functions interface_exists interface_down interface_del_addresses
+ variables rename
}
# bool rename_pre_start(char *iface)