psplash and mountpoint -q


Mauro Ziliani
 

Hi all.

I'm working woth Zeus on intel platform

When the script is run in shutdown I get the error at line 28

26: export TMPDIR=/mnt/.psplash
27: [ -d $TMPDIR ] || mkdir -p $TMPDIR
28: if [ ! mountpoint -q $TMPDIR ]; then
29:     mount tmpfs -t tmpfs $TMPDIR -o,size=40k
30: fi

So I change the line so

28: if [ ! `mountpoint -q $TMPDIR` ]; then


Is this ok?


MZ

Join yocto@lists.yoctoproject.org to automatically receive all group messages.