if -eq 1 = newpad


On Tue, Feb 4, 2014 at 1:37 PM, bclune <notifications@github.com> wrote:

> In chroot_scripts/chrootboot:
>
> > @@ -8,13 +8,24 @@ export LOOP_BACK=/dev/block/loop4
> >  export SOURCE_IMG=/data/local/kali_img/kali.img
> >  export NEW_ROOT=/data/local/kali
> >
> > -echo "Setting up loopback device..."
> > -losetup $LOOP_BACK $SOURCE_IMG
> > +echo "Mounting kali.img file..."
> > +
> > +#Checking to see if this is the old pad or the new pad:
> > +cat /proc/cpuinfo |grep grouper &> /dev/null
> > +pad_old_or_new=`echo $?`
> > +
> > +if [ $pad_old_or_new -eq 1 ];
>
> Is this if condition satisfied if this is an old pad, or a new pad?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/pwnieexpress/pwn_pad_sources/pull/10/files#r9432399>
> .
>

-- 
This e-mail and any attachments are for the sole use of the intended 
recipients(s) and may be confidential. Use of any Pwnie Express product 
signifies your agreement to the Rapid Focus Security EULA<http://pwnieexpress.com/pdfs/RFSEULA.pdf>and is subject to export controls under the U.S. Commerce Department's 
Export Administration Regulations ("EAR").