Difference between revisions of "Netboot Template"

From Amahi Wiki
Jump to: navigation, search
Line 110: Line 110:
  
 
<u>'''UNINSTALL'''</u>
 
<u>'''UNINSTALL'''</u>
{{Code|Lang=bash|# App specific variables
+
{{Code|Code=# App specific variables
 
export WASNAM='pmagic';
 
export WASNAM='pmagic';
 
export WAPATH='/var/hda/web-apps/pmagic/html';
 
export WAPATH='/var/hda/web-apps/pmagic/html';

Revision as of 01:27, 30 March 2011

INSTALL

awk '{ print $2 }' code
​ grep "inet addr" ​


UNINSTALL

bash code
​# App specific variables export WASNAM='pmagic'; export WAPATH='/var/hda/web-apps/pmagic/html'; # Uninstall $WASNAM mkdir elevated; cd elevated; cp $WAPATH/uninstall-$WASNAM.sh .; sudo ./uninstall-$WASNAM.sh; cd ..; rm -rf elevated;