mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
installer: find all possible configs and include them
Sooner or later we will remove custom configs and this is in the way of simply zapping a file by statically including it.
This commit is contained in:
parent
60ccde58af
commit
4cef794d42
@ -46,10 +46,16 @@ fi
|
||||
|
||||
rm -f /tmp/install_complete
|
||||
|
||||
daemon -f lua50c51 /usr/local/share/dfuibe_lua/main.lua \
|
||||
/usr/local/share/dfuibe_lua/conf/BSDInstaller.lua \
|
||||
/usr/local/share/dfuibe_lua/conf/FreeBSD.lua \
|
||||
/usr/local/share/dfuibe_lua/conf/Product.lua
|
||||
CONFIGDIR=/usr/local/share/dfuibe_lua
|
||||
CONFIGS=${CONFIGDIR}/main.lua
|
||||
|
||||
for CONFIG in BSDInstaller FreeBSD Product; do
|
||||
if [ -f /usr/local/share/dfuibe_lua/conf/${CONFIG}.lua ]; then
|
||||
CONFIGS="${CONFIGS} ${CONFIGDIR}/conf/${CONFIG}.lua"
|
||||
fi
|
||||
done
|
||||
|
||||
daemon -f lua50c51 ${CONFIGS}
|
||||
|
||||
conscontrol mute on > /dev/null
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user