diff --git a/README.md b/README.md index 2bb2d15..c7a5e95 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ ### For 'Bridged' Internet sharing method * bridge-utils -* dhclient ## Installation diff --git a/create_ap b/create_ap index 34a4179..5f14959 100755 --- a/create_ap +++ b/create_ap @@ -14,7 +14,6 @@ # dependencies for 'bridge' Internet sharing method # bridge-utils -# dhclient usage() { echo "Usage: $(basename $0) [options] [] [ []]" @@ -446,7 +445,7 @@ if [[ "$SHARE_METHOD" != "none" ]]; then # create and initialize bridged interface brctl addbr ${BRIDGE_IFACE} || die brctl addif ${BRIDGE_IFACE} ${INTERNET_IFACE} || die - dhclient -pf $CONFDIR/dhclient.pid ${BRIDGE_IFACE} || die + ip link set dev ${BRIDGE_IFACE} up || die fi else echo "No Internet sharing"