From: sungsik jang Date: Fri, 7 Sep 2012 02:14:03 +0000 (+0900) Subject: changed writing option of vconftool to solve get ip address problerm. X-Git-Tag: 2.0_alpha~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b33a81c3463dd6ba7bfb4334742a7b02489971e;p=framework%2Fconnectivity%2Flibwifi-direct.git changed writing option of vconftool to solve get ip address problerm. --- diff --git a/binary/dhcpd-notify.sh b/binary/dhcpd-notify.sh index 4e19370..9c2abfe 100755 --- a/binary/dhcpd-notify.sh +++ b/binary/dhcpd-notify.sh @@ -3,5 +3,5 @@ dumpleases | awk '$1!="Mac" {print $1, $2, $3}' > /tmp/dhcp-client-table #Update vconf value to notify wifi-direct -vconftool set -t int memory/private/wifi_direct_manager/dhcp_ip_lease 1 +vconftool set -t int memory/private/wifi_direct_manager/dhcp_ip_lease 1 -f #cat /tmp/dhcp-client-table diff --git a/binary/udhcp_script.non-autoip b/binary/udhcp_script.non-autoip index 3f98a57..487415e 100755 --- a/binary/udhcp_script.non-autoip +++ b/binary/udhcp_script.non-autoip @@ -57,11 +57,11 @@ case "$1" in local_gateway="0.0.0.0" fi - vconftool set -t string memory/private/wifi_direct_manager/p2p_ifname ${interface} - vconftool set -t string memory/private/wifi_direct_manager/p2p_local_ip ${ip} - vconftool set -t string memory/private/wifi_direct_manager/p2p_subnet_mask ${subnet} - vconftool set -t string memory/private/wifi_direct_manager/p2p_gateway ${local_gateway} - vconftool set -t string memory/private/wifi_direct_manager/dhcpc_server_ip ${serverid} + vconftool set -t string memory/private/wifi_direct_manager/p2p_ifname ${interface} -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_local_ip ${ip} -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_subnet_mask ${subnet} -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_gateway ${local_gateway} -f + vconftool set -t string memory/private/wifi_direct_manager/dhcpc_server_ip ${serverid} -f echo $i >> $TEMP_DHCP_FILE ;; diff --git a/binary/wifi-direct-dhcp.sh b/binary/wifi-direct-dhcp.sh index 989e6de..2e1dd24 100755 --- a/binary/wifi-direct-dhcp.sh +++ b/binary/wifi-direct-dhcp.sh @@ -38,11 +38,10 @@ start_dhcp_server() subnet="255.255.255.0" fi - vconftool set -t string memory/private/wifi_direct_manager/p2p_ifname ${interface} - vconftool set -t string memory/private/wifi_direct_manager/p2p_local_ip ${DEFAULT_IP} - vconftool set -t string memory/private/wifi_direct_manager/p2p_subnet_mask ${subnet} - vconftool set -t string memory/private/wifi_direct_manager/p2p_gateway ${route} - + vconftool set -t string memory/private/wifi_direct_manager/p2p_ifname ${interface} -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_local_ip ${DEFAULT_IP} -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_subnet_mask ${subnet} -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_gateway ${route} -f } start_dhcp_client() @@ -57,10 +56,10 @@ start_dhcp_client() stop_dhcp() { - vconftool set -t string memory/private/wifi_direct_manager/p2p_ifname "" - vconftool set -t string memory/private/wifi_direct_manager/p2p_local_ip "" - vconftool set -t string memory/private/wifi_direct_manager/p2p_subnet_mask "" - vconftool set -t string memory/private/wifi_direct_manager/p2p_gateway "" + vconftool set -t string memory/private/wifi_direct_manager/p2p_ifname "" -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_local_ip "" -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_subnet_mask "" -f + vconftool set -t string memory/private/wifi_direct_manager/p2p_gateway "" -f killall udhcpc killall udhcpd diff --git a/debian/changelog b/debian/changelog index bc7461e..8cdeacb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +libwifi-direct (0.2.14) unstable; urgency=low + + * changed writing option of vconftool to solve get ip address problerm. + * Git : rsa/framework/connectivity/libwifi-direct + * Tag : libwifi-direct_0.2.14 + + -- Sungsik Jang Fri, 07 Sep 2012 11:08:12 +0900 + libwifi-direct (0.2.13) unstable; urgency=low * modified the activation problerm (changed plugin so) diff --git a/packaging/libwifi-direct.spec b/packaging/libwifi-direct.spec index 6d58155..7c4b3f5 100755 --- a/packaging/libwifi-direct.spec +++ b/packaging/libwifi-direct.spec @@ -1,6 +1,6 @@ Name: libwifi-direct Summary: wifi direct library (Shared Library) -Version: 0.2.13 +Version: 0.2.14 Release: 1 Group: TO_BE_FILLED License: Apache-2.0