Difference between revisions of "Script variables"

From Amahi Wiki
Jump to: navigation, search
Line 1: Line 1:
 
Environment variables needed in scripts:
 
Environment variables needed in scripts:
  
* AMAHI_HDA_IP: HDA IP
+
* HDA_APP_DIR: Directory of the webapp (basically, PWD)
* AMAHI_APP_DIR: Directory of the webapp (basically, PWD)
+
* HDA_IP: the internal IP of the HDA
* AMAHI_APP_NAME: App name
+
* HDA_APP_NAME: App name
* AMAHI_GW_IP: IP of the router?
+
* HDA_APP_DOMAIN: IP of the router?
* AMAHI_NETMASK: Netmask?
+
* HDA_APP_USERNAME: admin username (if available, otherwise undefined)
* AMAHI_ADMIN_USERNAME: admin username
+
* HDA_APP_PASSWORD: admin password (if available, otherwise undefined)
* AMAHI_ADMIN_PASSWORD: admin password
 

Revision as of 09:53, 29 March 2010

Environment variables needed in scripts:

  • HDA_APP_DIR: Directory of the webapp (basically, PWD)
  • HDA_IP: the internal IP of the HDA
  • HDA_APP_NAME: App name
  • HDA_APP_DOMAIN: IP of the router?
  • HDA_APP_USERNAME: admin username (if available, otherwise undefined)
  • HDA_APP_PASSWORD: admin password (if available, otherwise undefined)