X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fwireless-tools;h=2da0fe6e1a4f37f24704553eb610ddadfea18cc1;hb=1b3f334af67c84997f7b5e6dee56faf556f0ea4b;hp=002ae8ea982d2c1f6bdeeff05a424fdbd89a1103;hpb=88f5fb0c316fe9a38c3d05a2e2a2dcfbc5c95557;p=hvlinux.git diff --git a/stage2/pkg/wireless-tools b/stage2/pkg/wireless-tools index 002ae8e..2da0fe6 100644 --- a/stage2/pkg/wireless-tools +++ b/stage2/pkg/wireless-tools @@ -3,24 +3,22 @@ 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() { - install -d -m755 /etc/sysconfig/network/ssid + install -v -d -m755 /etc/sysconfig/network/ssid cat > /etc/sysconfig/network/ssid/TEMPLATE << EOF # This file must be named exactly as your ESSID (case is important) -SSID="MYNETWORK-SSID" -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 }