I have Openwrt installed on TP-MR3020 router. Due to limited memory(using other stuff on the main memory of the router), I decided to install Asterisk18 on an external usb connected to the router. I mounted the usb to /aster. I know by default that the files are configured to point to the main memory, i.e.
"/etc/" not “/aster/etc/”
"/init.d/" not "/aster/init.d"
What files should be modified to make Asterisk run fully from the usb.