mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
use the public addresses variable instead of hardcoding the path
(This used to be ctdb commit 8e23f173cda8a76bbc243863bfc49fe8c7b907f4)
This commit is contained in:
parent
98f968d8d3
commit
536d393452
@ -29,7 +29,7 @@ case $cmd in
|
||||
echo 1 > /proc/sys/ipv4/conf/all/arp_filter
|
||||
|
||||
# move all public addresses onto loopback
|
||||
cat /etc/ctdb/public_addresses| cut -d/ -f1 | while read ip; do
|
||||
cat $CTDB_PUBLIC_ADDRESSES | cut -d/ -f1 | while read ip; do
|
||||
/sbin/ip addr add $ip/32 dev lo >/dev/null 2>/dev/null
|
||||
done
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user