opendingux: Fix generation of the config file for the AP script