kopia lustrzana https://github.com/cyoung/stratux
Remove wifi_watch.sh and rc.local start.
rodzic
c3ecbf0b7c
commit
2b1acf49a2
|
@ -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
|
||||
|
|
|
@ -27,4 +27,4 @@ ${DAEMON_SBIN} -B ${DAEMON_CONF}
|
|||
|
||||
sleep 5
|
||||
|
||||
/usr/sbin/service isc-dhcp-server start
|
||||
/usr/sbin/service isc-dhcp-server start
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue