From 1aab85db9dd130a27b9e1948228dcf6fcd57932b Mon Sep 17 00:00:00 2001
From: Bjoern Franke <bjo@nord-west.org>
Date: Wed, 20 May 2015 16:02:10 +0200
Subject: [PATCH] update check for fastdreg config

---
 opkgconfig/files/lib/ffnw/opkgconfig/opkgconfig.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/opkgconfig/files/lib/ffnw/opkgconfig/opkgconfig.sh b/opkgconfig/files/lib/ffnw/opkgconfig/opkgconfig.sh
index edead94..698306a 100644
--- a/opkgconfig/files/lib/ffnw/opkgconfig/opkgconfig.sh
+++ b/opkgconfig/files/lib/ffnw/opkgconfig/opkgconfig.sh
@@ -5,8 +5,7 @@ cleanup () {
 	rm -rf /lib/ffnw/opkgconfig
 	}
 
-ls /etc/config/fastdreg > /dev/null
-if [ $? -eq 0 ]; then
+if [ -e /etc/config/fastdreg]; then
 	rm /etc/config/fastdreg
 fi
 
-- 
GitLab