busybox: install configfile not called '.conf' too

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-01-07 19:28:32 +01:00
parent f68f7db2c2
commit c6a652a5d2

View File

@ -33,7 +33,7 @@ if [ -d /usr/config ]; then
mkdir -p /storage/.config/$dir
done
for config in `find . -type f -name "*.conf"`; do
for config in `find . -type f -not -name "*.sample"`; do
if [ ! -f /storage/.config/$config ]; then
cp $config /storage/.config/$config
fi