tags 246741 patch
thanks

On further investigation, it's trying to set a variable called devfs,
but with a space after the variable name, so it's interpreted as a
command.

The attached patch fixes the problem.

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg
--- diskless-image-simple.postinst.bak  2004-04-30 21:10:38.000000000 +0000
+++ diskless-image-simple.postinst      2004-04-30 21:05:53.000000000 +0000
@@ -16,9 +16,9 @@
        db_get diskless-image/devfs; devfs="$RET";
        # convert from good looking boolean template to what expected in the 
scripts
        if [ $devfs = 'true' ] ; then
-               devfs = 'yes'
+               devfs='yes'
        else
-               devfs = 'no'
+               devfs='no'
        fi
 
        . /etc/diskless-image/config.sh

Reply via email to