Difference between revisions of "Netboot Template"

From Amahi Wiki
Jump to: navigation, search
(Created page with "<u>'''INSTALL'''</u> # App specific variables export WASNAM='pmagic'; export WALNAM='Parted Magic'; export WAPATH='/var/hda/web-apps/pmagic/html'; # Constant variables--DO NOT CH...")
 
Line 1: Line 1:
 
<u>'''INSTALL'''</u>
 
<u>'''INSTALL'''</u>
# App specific variables
+
{{Code|# App specific variables
 
export WASNAM='pmagic';
 
export WASNAM='pmagic';
 
export WALNAM='Parted Magic';
 
export WALNAM='Parted Magic';
Line 107: Line 107:
 
sudo ./install-$WASNAM.sh;
 
sudo ./install-$WASNAM.sh;
 
cd ..;
 
cd ..;
rm -rf elevated;
+
rm -rf elevated;}}
  
 
<u>'''UNINSTALL'''</u>
 
<u>'''UNINSTALL'''</u>
# App specific variables
+
{{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';
Line 119: Line 119:
 
sudo ./uninstall-$WASNAM.sh;
 
sudo ./uninstall-$WASNAM.sh;
 
cd ..;
 
cd ..;
rm -rf elevated;
+
rm -rf elevated;}}

Revision as of 01:25, 30 March 2011

INSTALL

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


UNINSTALL

bash code
{{{1}}}