mirror of https://github.com/aredn/aredn.git
bugfix: Make sure we create the swconfig file even if it will end up empty.
If we don't create the file the system will have nothing to include later on and the script will run on every boot
This commit is contained in:
parent
79902f0876
commit
3c07872f06
|
@ -11,6 +11,7 @@ boot() {
|
|||
if [ ! -f /etc/aredn_include/swconfig ]
|
||||
then
|
||||
mkdir -p /etc/aredn_include
|
||||
touch /etc/aredn_include/swconfig
|
||||
i=0
|
||||
while true; do
|
||||
uci -q get network.\@switch_vlan\[$i\] > /dev/null
|
||||
|
|
Loading…
Reference in New Issue