git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9ab193
)
Eventscripts: remove unused remove_ip() function.
author
Martin Schwenke
<martin@meltin.net>
Tue, 28 Jun 2011 04:57:11 +0000
(14:57 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Thu, 11 Aug 2011 00:46:56 +0000
(10:46 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
config/functions
patch
|
blob
|
history
diff --git
a/config/functions
b/config/functions
index bd4ab21424af13223541b2cb4ed36add52f27a90..39daeb7eb519d39102b57a01f88235ff1d2f620c 100755
(executable)
--- a/
config/functions
+++ b/
config/functions
@@
-425,18
+425,6
@@
startstop_nfslock() {
esac
}
-# better use delete_ip_from_iface() together with add_ip_to_iface
-# remove_ip should be removed in future
-remove_ip() {
- local _ip_maskbits=$1
- local _iface=$2
- local _ip=`echo "$_ip_maskbits" | cut -d '/' -f1`
- local _maskbits=`echo "$_ip_maskbits" | cut -d '/' -f2`
-
- delete_ip_from_iface "$_iface" "$_ip" "$_maskbits"
- return $?
-}
-
add_ip_to_iface()
{
local _iface=$1