This matches new more recent nslu2 'master makefile' which, by default,
does not create local.conf, so freeze/unfreeze fail to find it and put
the frozen files in the first directory on the BBPATH (which happens now
to be the package directory and therefore does nothing.)
FROZEN_DIR=""
for d in ${BBPATH//:/ }
do
- if test -r "$d/conf/local.conf"
+ if test -r "$d/conf/local.conf" -o -r "$d/conf/auto.conf"
then
FROZEN_DIR="$d/conf"
break
FROZEN_DIR=""
for d in ${BBPATH//:/ }
do
- if test -r "$d/conf/local.conf"
+ if test -r "$d/conf/local.conf" -o -r "$d/conf/auto.conf"
then
FROZEN_DIR="$d/conf"
break