startips: load addip from ./directadmin c

Version 1.61.1

Bugfix
Finished

Relating to the directadmin.conf template cleanup in 1.61.0: https://www.directadmin.com/features.php?id=2774 The "addip" option was cleared, and the internal value can be reliably be used instead (as the script would very rarely be changed). This bug is that the startips script was accessing the addip value from the directadmin.conf, so a new install might not be able to find the script correctly. The pre-release binaries have this fix as of May 26, 2020 at 11:50pm MDT. Else, use the workaround if needed: ============ WORKAROUND Edit: /usr/local/directadmin/scripts/startips and find the line: ADDIP=`grep -m1 '^addip=' ${DACONF} | cut -d= -f2` and replace it with: ADDIP=`/usr/local/directadmin/directadmin c | grep -m1 '^addip=' | cut -d= -f2`

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