[pkg-wpa-devel] r891 - /wpasupplicant/trunk/debian/defconfig.sh

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Fri Nov 9 19:05:12 UTC 2007


Author: siretart
Date: Fri Nov  9 19:05:12 2007
New Revision: 891

URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=891
Log:
cleanup debian/defconfig.sh

Modified:
    wpasupplicant/trunk/debian/defconfig.sh

Modified: wpasupplicant/trunk/debian/defconfig.sh
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/defconfig.sh?rev=891&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/defconfig.sh (original)
+++ wpasupplicant/trunk/debian/defconfig.sh Fri Nov  9 19:05:12 2007
@@ -7,16 +7,10 @@
 creates a default .config files suitable for wpasupplicant.
 will overwrite the file if it already exists.
 EOF
-fi
-
-if [ -e $1 ]; then
-    echo "file $1 already exists, unlinking it"
-    rm $1
-fi
-
-echo "writing out configuration for wpasupplicant, using filename $1"
-
-cat <<EOF | grep -v "^#" > $1
+    exit 1
+else
+    echo "writing out configuration for wpasupplicant, using filename $1"
+    cat <<EOF | grep -v "^#" > $1
 CONFIG_DRIVER_ATMEL=y
 CONFIG_DRIVER_HOSTAP=y
 #CONFIG_DRIVER_IPW=y		# Deprecated since ~ Linux 2.6.14
@@ -53,3 +47,4 @@
 CONFIG_CTRL_IFACE_DBUS=y
 CONFIG_READLINE=y
 EOF
+fi




More information about the Pkg-wpa-devel mailing list