Missing "while" loop, cron creation, and bind logs

Fixing issues previously addressed @ zpanel/zpanelx@e5d0bdfbd6d9cb592f94e4e0a1133f6c10ef32bd and also tossin in the "while" loop that was missing and causing the reboot to hang and outputting..

```
/dev/fd/63: line 446: break: only meaningful in a `for', `while', or `until' loop
/dev/fd/63: line 449: syntax error near unexpected token `done'
/dev/fd/63: line 449: `done'
```