mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
fixed syntax of /sbin/ip
(This used to be ctdb commit 9791901dda000fbef6e520531f39ead575531721)
This commit is contained in:
parent
1becc9f2e7
commit
6cd49d7842
@ -13,7 +13,7 @@ case $cmd in
|
||||
iface=$1
|
||||
ip=$2
|
||||
maskbits=$3
|
||||
exec /sbin/ip add $ip/$maskbits dev $iface
|
||||
exec /sbin/ip addr add $ip/$maskbits dev $iface
|
||||
exit 1
|
||||
;;
|
||||
|
||||
@ -25,7 +25,7 @@ case $cmd in
|
||||
iface=$1
|
||||
ip=$2
|
||||
maskbits=$3
|
||||
exec /sbin/ip del $ip/$maskbits dev $iface
|
||||
exec /sbin/ip addr del $ip/$maskbits dev $iface
|
||||
exit 1
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user