Topic
  • No replies
Benjamin D
Benjamin D
21 Posts

Pinned topic IBM lnxtoolkit - shutdowntk.sh bug

‏2012-11-26T13:24:52Z |
Hi,

There is a big error in shutdowntk.sh

serial=$( $HWDETECT /i | grep Serial_Number | cut -d= -f2 | sed -e 
"s/ //" ) tstamp=$(date +%Y%m%d_%H%M%S)   

if [ -n 
"${serial}" ]; then serial=serial fi


It must be

serial=$( $HWDETECT /i | grep Serial_Number | cut -d= -f2 | sed -e 
"s/ //" ) tstamp=$(date +%Y%m%d_%H%M%S)   

if [ -z 
"${serial}" ]; then serial=serial fi