Replace PREFIX_LENGTH with NETMASK_LENGHTH
[hvlinux.git] / stage2 / pkg / wireless-tools
index e617a12..2da0fe6 100644 (file)
@@ -3,7 +3,7 @@
 hvconfig_pre()
 {
     sed -e "s!^\(INSTALL_DIR=\).*!\1/sbin!" \
-        -e "s!^\(INSTALL_LIB=\).*!\1/lib!" -i ${LFS_TMP}/${PACKAGE}/Makefile
+        -e "s!^\(INSTALL_LIB=\).*!\1/lib!" -i ${SRC_DIR}/Makefile
 }
 
 hvbuild_post()
@@ -12,14 +12,13 @@ hvbuild_post()
 
 cat > /etc/sysconfig/network/ssid/TEMPLATE << EOF
 # This file must be named exactly as your ESSID (case is important)
-KEY_TYPE="WPA-PSK"
 
 # This can be "static" or "dhcp"
 BOOTPROTO="static"
 
 # The following variables are used only for "static":
 IPADDR="192.168.1.6"
-PREFIX_LENGTH="24"
+NETMASK_LENGTH="24"
 GATEWAY="192.168.1.1"
 EOF
 }