User Tools

Site Tools


os:linux:centos:kspostscript

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
os:linux:centos:kspostscript [2011/10/27 20:33] – [%post] jayos:linux:centos:kspostscript [2011/10/27 20:41] – [%post] jay
Line 30: Line 30:
  
 while [ "x$answer" != "xy" ] && [ "x$answer" != "xY" ] ; do while [ "x$answer" != "xy" ] && [ "x$answer" != "xY" ] ; do
 +        echo -n "enter hostname: "; read hostname
         echo -n "enter ip: "; read ip         echo -n "enter ip: "; read ip
         echo -n "enter netmask: "; read netmask         echo -n "enter netmask: "; read netmask
Line 64: Line 65:
 echo DNS1=$dns1 >> $scrFile echo DNS1=$dns1 >> $scrFile
 echo DNS2=$dns2 >> $scrFile echo DNS2=$dns2 >> $scrFile
 +
 +if [ "x$opts" != "x" ] ; then
 +        echo 'ETHTOOL_OPTS="'"$opts"'"' >> $scrFile
 +fi
 +
  
 %end %end
os/linux/centos/kspostscript.txt · Last modified: 2012/04/08 16:17 by jay