Displaying 1 result from an estimated 1 matches for "zones_".
Did you mean:
zones
2005 May 25
5
Patch to fix dynamic add/delete to zone functinality
...0300
@@ -7001,16 +7001,20 @@
while read z hosts; do
if [ "$z" = "$zone" ]; then
+ found=
for h in $hosts; do
+ [ -n "$found" ] && break
for host in $hostlist; do
if [ "$h" = "$host" ]; then
- rm -f ${STATEDIR}/zones_$$
- startup_error "$host already in zone $zone"
+ found=Yes
fi
done
done
-
- [ -z "$hosts" ] && hosts=$hostlist || hosts="$hosts $hostlist"
+ if [ -n "$found" ]; then
+ error_message "Warning: $host does appear t...