mirror of
https://github.com/samba-team/samba.git
synced 2025-03-26 18:50:30 +03:00
Eventscripts: remove unused remove_ip() function.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 881af7c1417962b9b3ade6565b3e8eb9f9df7a97)
This commit is contained in:
parent
5c948528b5
commit
219c6fd55b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user