From: John Crispin Date: Tue, 24 Jul 2007 22:10:10 +0000 (+0000) Subject: wireless config gets regenerated not only when it does not exist, buit also if it... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=206998371f39b38bab94af97216eed3fea98ce32;p=librecmc%2Flibrecmc.git wireless config gets regenerated not only when it does not exist, buit also if it is 0 len SVN-Revision: 8149 --- 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 }