fix paths
This commit is contained in:
parent
44c7a2a60c
commit
2c5534d6ea
|
@ -3,8 +3,8 @@
|
|||
# Setup an static ip to wlan0
|
||||
cat files/dhcpcd.conf >> ${ROOTFS_DIR}/etc/dhcpcd.conf
|
||||
# Setup dhcp server for rpi to serve clients
|
||||
cat files/dnsmasq.conf >> /etc/dnsmasq.conf
|
||||
cat files/dnsmasq.conf >> ${ROOTFS_DIR}/etc/dnsmasq.conf
|
||||
# Setup access point in hostapd/hostapd.conf
|
||||
cat files/hostapd.conf >> /etc/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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user