From 323cfcc3422e610cb0702c2f22f27805e5901837 Mon Sep 17 00:00:00 2001 From: German Ferrero Date: Wed, 13 Nov 2019 15:02:32 -0300 Subject: [PATCH] fixt escape character in sed expression --- stage3/00-enable-access-point/01-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage3/00-enable-access-point/01-run.sh b/stage3/00-enable-access-point/01-run.sh index 4cb479f..739bc02 100755 --- a/stage3/00-enable-access-point/01-run.sh +++ b/stage3/00-enable-access-point/01-run.sh @@ -7,4 +7,4 @@ cat files/dnsmasq.conf >> ${ROOTFS_DIR}/etc/dnsmasq.conf # Setup access point in hostapd/hostapd.conf cat files/hostapd.conf >> ${ROOTFS_DIR}/etc/hostapd/hostapd.conf # Point default/hostapd conf to hostapd/hostapd.conf -sed -i "s/#DAEMON_CONF=\"\"/DAEMON_CONF=\"/etc/hostapd/hostapd.conf\"/" "{$ROOTFS_DIR}/etc/default/hostapd" +sed -i "s@#DAEMON_CONF=\"\"@DAEMON_CONF=\"/etc/hostapd/hostapd.conf\"@" "{$ROOTFS_DIR}/etc/default/hostapd"