X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fwireless-tools;h=2da0fe6e1a4f37f24704553eb610ddadfea18cc1;hb=2121ae9154ff063eef0defe0a9208663062a2d01;hp=e72babcf1b197689ebe6359a2e6c6bf582515892;hpb=e8cc14e96c051666130d201fa5c60291a881e008;p=hvlinux.git diff --git a/stage2/pkg/wireless-tools b/stage2/pkg/wireless-tools index e72babc..2da0fe6 100644 --- a/stage2/pkg/wireless-tools +++ b/stage2/pkg/wireless-tools @@ -3,11 +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() { - echo "TODO: Configurer ssid" - 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) + +# This can be "static" or "dhcp" +BOOTPROTO="static" + +# The following variables are used only for "static": +IPADDR="192.168.1.6" +NETMASK_LENGTH="24" +GATEWAY="192.168.1.1" +EOF }