kopia lustrzana https://github.com/cyoung/stratux
rodzic
bcceaab2ee
commit
362a2ffb39
|
@ -0,0 +1,12 @@
|
||||||
|
# Keep 10 days of stratux logfiles.
|
||||||
|
/var/log/stratux.log
|
||||||
|
{
|
||||||
|
rotate 10
|
||||||
|
daily
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
compress
|
||||||
|
postrotate
|
||||||
|
/usr/bin/killall -HUP gen_gdl90
|
||||||
|
endscript
|
||||||
|
}
|
|
@ -38,7 +38,8 @@ cp image/stratux-wifi.sh work/bin/
|
||||||
cp image/rc.local work/bin/
|
cp image/rc.local work/bin/
|
||||||
cp image/dhcpd.conf work/bin/
|
cp image/dhcpd.conf work/bin/
|
||||||
cp image/interfaces work/bin/
|
cp image/interfaces work/bin/
|
||||||
cp image/logrotate.conf work/bin
|
cp image/logrotate.conf work/bin/
|
||||||
|
cp image/logrotate_d_stratux work/bin/
|
||||||
|
|
||||||
cp test-data/ahrs/ahrs_table.log work/bin/
|
cp test-data/ahrs/ahrs_table.log work/bin/
|
||||||
cp ahrs_approx work/bin/
|
cp ahrs_approx work/bin/
|
||||||
|
|
|
@ -25,6 +25,7 @@ cp -f hostapd-edimax.conf /etc/hostapd/hostapd-edimax.conf
|
||||||
|
|
||||||
#logrotate config
|
#logrotate config
|
||||||
cp -f logrotate.conf /etc/logrotate.conf
|
cp -f logrotate.conf /etc/logrotate.conf
|
||||||
|
cp -f logrotate_d_stratux /etc/logrotate.d/stratux
|
||||||
|
|
||||||
#WiFi Hostapd ver test and hostapd.conf builder script
|
#WiFi Hostapd ver test and hostapd.conf builder script
|
||||||
cp -f stratux-wifi.sh /usr/sbin/
|
cp -f stratux-wifi.sh /usr/sbin/
|
||||||
|
|
Ładowanie…
Reference in New Issue