diff --git a/image/spindle/wheezy-stage4 b/image/spindle/wheezy-stage4 index d2308143..8bbdfcf3 100755 --- a/image/spindle/wheezy-stage4 +++ b/image/spindle/wheezy-stage4 @@ -59,8 +59,6 @@ scp_in_to_qemu /root/spindle/sshd_config /tmp/sshd_config.in scp_in_to_qemu /root/spindle/libdump978.so /tmp/libdump978.so.in scp_in_to_qemu /root/spindle/libimu.so /tmp/libimu.so.in scp_in_to_qemu /root/spindle/go.tgz /mnt/root/go.tgz -scp_in_to_qemu /root/spindle/rc.local /tmp/rc.local.in -scp_in_to_qemu /root/spindle/wifi_watch.sh /tmp/wifi_watch.sh.in ssh_in_to_qemu chroot /mnt sh -l -ex - <<\EOF @@ -80,9 +78,6 @@ mv -f /tmp/dhcpd.conf.in /etc/dhcp/dhcpd.conf mv -f /tmp/hostapd.conf.in /etc/hostapd/hostapd.conf mv -f /tmp/isc-dhcp-server.in /etc/default/isc-dhcp-server mv -f /tmp/sshd_config.in /etc/ssh/sshd_config -mv -f /tmp/wifi_watch.sh.in /usr/sbin/wifi_watch.sh -chmod +x /usr/sbin/wifi_watch.sh -mv -f /tmp/rc.local.in /etc/rc.local rm -f /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service echo "DAEMON_CONF=\"/etc/hostapd/hostapd.conf\"" >/etc/default/hostapd diff --git a/image/stratux-wifi.sh b/image/stratux-wifi.sh index b75cea18..c0676b4c 100755 --- a/image/stratux-wifi.sh +++ b/image/stratux-wifi.sh @@ -27,4 +27,4 @@ ${DAEMON_SBIN} -B ${DAEMON_CONF} sleep 5 -/usr/sbin/service isc-dhcp-server start \ No newline at end of file +/usr/sbin/service isc-dhcp-server start diff --git a/selfupdate/makeupdate.sh b/selfupdate/makeupdate.sh index a6e020ed..75e5ee20 100755 --- a/selfupdate/makeupdate.sh +++ b/selfupdate/makeupdate.sh @@ -20,8 +20,6 @@ cp libdump978.so work/bin/ cp linux-mpu9150/libimu.so work/bin/ cp init.d-stratux work/bin/ cp dump1090/dump1090 work/bin/ -cp image/rc.local work/bin/ -cp image/wifi_watch.sh work/bin/ cp -r web work/bin/ #TODO: librtlsdr. cd work/ diff --git a/selfupdate/update_footer.sh b/selfupdate/update_footer.sh index 69ca07df..f224f0d0 100755 --- a/selfupdate/update_footer.sh +++ b/selfupdate/update_footer.sh @@ -9,11 +9,6 @@ chmod 755 /etc/init.d/stratux ln -fs /etc/init.d/stratux /etc/rc2.d/S01stratux ln -fs /etc/init.d/stratux /etc/rc6.d/K01stratux -# Wifi watcher. -cp -f rc.local /etc/rc.local -cp -f wifi_watch.sh /usr/sbin/wifi_watch.sh -chmod +x /usr/sbin/wifi_watch.sh - cp -f dump1090 /usr/bin/ # Web files install.