Difference between revisions of "Netboot Template"

From Amahi Wiki
Jump to: navigation, search
Line 6: Line 6:
 
# Constant variables--DO NOT CHANGE
 
# Constant variables--DO NOT CHANGE
 
export NBPATH='/usr/share/amahi-netboot/tftp';
 
export NBPATH='/usr/share/amahi-netboot/tftp';
export HDAIP=`<nowiki>ifconfig eth0 | grep "inet addr" | awk '{ print $2 }' | awk 'BEGIN { FS=":" } { print $2 }'</nowiki>`;
+
export HDAIP=`ifconfig eth0 | grep "inet addr" | awk '{ print $2 }' | awk 'BEGIN { FS=":" } { print $2 }'`;
  
 
# Start of $WALNAM Install
 
# Start of $WALNAM Install

Revision as of 01:26, 30 March 2011

INSTALL

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


UNINSTALL

bash code
{{{1}}}