diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2018-01-08 13:42:54 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2018-01-08 13:43:31 +0900 |
commit | 9362752a471a5c892d679548fbf2828d5fc5684b (patch) | |
tree | 83c7d29a28556906938f5c2198d81e2d35f86f92 /scripts/connman.in | |
parent | 22633ced6225d294ce8483efbf2b39ea0c0c1b65 (diff) | |
download | connman-9362752a471a5c892d679548fbf2828d5fc5684b.tar.gz connman-9362752a471a5c892d679548fbf2828d5fc5684b.tar.bz2 connman-9362752a471a5c892d679548fbf2828d5fc5684b.zip |
Imported Upstream version 1.35upstream/1.35
Change-Id: I174854914d9fd06a813270b57d1f7bc2bac63c6a
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Diffstat (limited to 'scripts/connman.in')
-rw-r--r-- | scripts/connman.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/connman.in b/scripts/connman.in index 1692b950..0b9f63c5 100644 --- a/scripts/connman.in +++ b/scripts/connman.in @@ -9,6 +9,11 @@ if [ -f @sysconfdir@/default/connman ] ; then . @sysconfdir@/default/connman fi +if [ "CONNMAN_RUNSTATEDIR_RESOLVCONF" != "no" ] ; then + mkdir -p @runstatedir@/connman + ln -sf @runstatedir@/connman/resolv.conf /etc/ +fi + set -e do_start() { |