From 624750ae4766920d9fb31c935237d92a6a8dd681 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 24 Jul 2007 22:11:13 +0000 Subject: [PATCH] wireless config gets regenerated not only when it does not exist, buit also if it is 0 len -- 7.07 tag SVN-Revision: 8150 --- package/base-files/files/etc/init.d/network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network index eab00118ad..2a116664e4 100755 --- a/package/base-files/files/etc/init.d/network +++ b/package/base-files/files/etc/init.d/network @@ -9,7 +9,7 @@ boot() { include /lib/network setup_switch - [ -e /etc/config/wireless ] || \ + [ -s /etc/config/wireless ] || \ /sbin/wifi detect > /etc/config/wireless /sbin/wifi up } -- 2.30.2