diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-11-25 13:48:07 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-02 05:24:51 -0800 |
commit | c5cfd67cdf177237c7e51834e502d8dc8e899e71 (patch) | |
tree | d02e57c416ec384e086a7ee14911f72ad99b9d4b /meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/init.sh | |
parent | 35793fdd7da312e644f2c7bab81b604128e3f2de (diff) | |
download | openembedded-core-c5cfd67cdf177237c7e51834e502d8dc8e899e71.tar.gz |
wpa-supplicant: Upgrade to version 0.7.3
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/init.sh')
-rw-r--r-- | meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/init.sh | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/init.sh b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/init.sh deleted file mode 100644 index bc7ee9184e..0000000000 --- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.2/init.sh +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -PATH=/sbin:/bin:/usr/sbin:/usr/bin - -DAEMON=/usr/sbin/wpa_supplicant -CONFIG="/etc/wpa_supplicant.conf" -PNAME="wpa_supplicant" - -# insane defaults -OPTIONS="" - -test -f /etc/default/wpa && . /etc/default/wpa - -if [ ! -f $CONFIG ]; then - echo "No configuration file found, not starting." - exit 1 -fi - -test -f $DAEMON || exit 0 - -case "$1" in - start) - echo -n "Starting wpa_supplicant: " - start-stop-daemon -S -b -x $DAEMON -- -Bw -c $CONFIG $OPTIONS >/dev/null - echo "done." - ;; - stop) - echo -n "Stopping wpa_supplicant: " - start-stop-daemon -K -n $PNAME >/dev/null - echo "done." - ;; - reload|force-reload) - echo -n "Reloading wpa_supplicant: " - killall -HUP $PNAME - echo "done." - ;; - restart) - echo -n "Restarting wpa_supplicant: " - start-stop-daemon -K -n $PNAME >/dev/null - sleep 1 - start-stop-daemon -S -b -x $DAEMON -- -Bw -c $CONFIG $OPTIONS >/dev/null - echo "done." - ;; - *) - echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2 - exit 1 - ;; -esac - -exit 0 |