fixt escape character in sed expression

pull/344/head
German Ferrero 2019-11-13 15:02:32 -03:00
parent 2c5534d6ea
commit 323cfcc342
1 changed files with 1 additions and 1 deletions

View File

@ -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"