ipswap_reseller.sh and action=rewrite&value=ipcount

Version 1.39

Feature
Finished

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 1.2.3.4 4.3.2.1 reseller where 1.2.3.4 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) 4.3.2.1 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!