mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-12 14:36:44 +03:00
Fix replace config after repeat run script
This commit is contained in:
@@ -35,18 +35,18 @@ then
|
|||||||
do
|
do
|
||||||
cp -f "$DIR/$file" "$DIR_BACKUP/$file"
|
cp -f "$DIR/$file" "$DIR_BACKUP/$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "Replace configs..."
|
||||||
|
|
||||||
|
for file in $config_files
|
||||||
|
do
|
||||||
|
if [ "$file" != "dhcp" ]
|
||||||
|
then
|
||||||
|
wget -O "$DIR/$file" "$URL/$file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Replace configs..."
|
|
||||||
|
|
||||||
for file in $config_files
|
|
||||||
do
|
|
||||||
if [ "$file" != "dhcp" ]
|
|
||||||
then
|
|
||||||
wget -O "$DIR/$file" "$URL/$file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Configure dhcp..."
|
echo "Configure dhcp..."
|
||||||
|
|
||||||
uci set dhcp.cfg01411c.strictorder='1'
|
uci set dhcp.cfg01411c.strictorder='1'
|
||||||
|
|||||||
Reference in New Issue
Block a user