ctdb-scripts: Do not de-duplicate the interfaces list
[samba.git] / ctdb / config / events / legacy / 50.samba.script
index 90de6a3f31b17850116e85d568ee4c4710fd1b00..c9d34cd2245ed7583e37ccd1c3360c8758227e37 100755 (executable)
@@ -40,7 +40,6 @@ generate_smb_interfaces_config()
        if [ -n "$CTDB_SAMBA_INTERFACES_EXTRA" ]; then
                public_ifaces="$public_ifaces $CTDB_SAMBA_INTERFACES_EXTRA"
        fi
-       public_ifaces=$(echo "$public_ifaces" | xargs -n 1 | sort -u)
 
 cat <<EOT > "$CTDB_SAMBA_INTERFACES_FILE"
     bind interfaces only = yes