diff --git a/image/mkimg.sh b/image/mkimg.sh index ca03b0b9..32d4d816 100755 --- a/image/mkimg.sh +++ b/image/mkimg.sh @@ -54,8 +54,8 @@ cp -f interfaces mnt/etc/network/interfaces cp stratux-wifi.sh mnt/usr/sbin/ chmod 755 mnt/usr/sbin/stratux-wifi.sh #fan/temp control script -cp fancontrol.py mnt/root/ -chmod 755 mnt/root/fancontrol.py +cp fancontrol.py mnt/usr/bin/ +chmod 755 mnt/usr/bin/fancontrol.py #isc-dhcp-server config cp -f isc-dhcp-server mnt/etc/default/isc-dhcp-server diff --git a/selfupdate/makeupdate.sh b/selfupdate/makeupdate.sh index 51ec508a..7b51b644 100755 --- a/selfupdate/makeupdate.sh +++ b/selfupdate/makeupdate.sh @@ -31,6 +31,7 @@ cp image/stxAliases.txt work/bin/ cp image/hostapd_manager.sh work/bin/ cp image/10-stratux.rules work/bin/ cp image/motd work/bin/ +cp image/fancontrol.py work/bin/ #TODO: librtlsdr. cd work/ diff --git a/selfupdate/update_footer.sh b/selfupdate/update_footer.sh index e0fe3711..490dbd8f 100755 --- a/selfupdate/update_footer.sh +++ b/selfupdate/update_footer.sh @@ -45,6 +45,10 @@ cp -f modules.txt /etc/modules #motd cp -f motd /etc/motd +#fan control utility +cp -f fancontrol.py /usr/bin/ +chmod 755 /usr/bin/fancontrol.py + cp -f dump1090 /usr/bin/ # Web files install.