Changes

From Amahi Wiki
Jump to: navigation, search
2 bytes added ,  04:00, 20 July 2014
* HDA_APP_PASSWORD: admin password (if available, otherwise undefined)
* HDA_1ST_ADMIN: username of the 1st admin user
 
Available in Amahi 7.2 and later:
* Suppose the app needs to initialize the DB for an app with an initial admin user and password. The script could use <code>echo "insert .... '$HDA_APP_USERNAME' ..." </code>
* Same thing with the domain name for this HDA.
* Suppose there is a need to crete create a directory for storing some file with a user name. The app install script could do <code>mkdir -p $HDA_1ST_ADMIN" </code>
12,424

edits