ipswap_reseller.sh and action=rewrite&value=ipcount

Version 1.39.0


ALPHA 0.1 - still in testing, use at your own risk. New script to move all Users/Domains under a Reseller (including the Reseller) to a new IP. Usage: cd /usr/local/directadmin/scripts ./ipswap_reseller.sh reseller where is the old IP. It does not need to actually exist on the box (in case you managed to get yourself out of sync somehow) is the new IP Users and the Reseller are being moved to. This new IP must be set as "shared". Thanks to Martynas (smtalk) for this contribution. Also, since the counts will change, new task.queue entry to force immediate IP/User count. echo "action=rewrite&value=ipcount" >> /usr/local/directadmin/data/task.queue Note that this happens with the nightly tally already, but we're calling it right away with the above script to prevent confusion.

Interested to try DirectAdmin? Get a 30-day Free Trial!