]> ###2025.01.11 - added 3 more ASPM rows (10 now) ###2024.12.18 - fixed log fetching (less spam) ###2024.12.17a - cosmetical helper page update (keep centered) ###2024.12.17 - fixed typo ###2024.12.14 - icon switch - log tab added ###2024.12.13 - bc install updated ###2024.12.11 - reboot bug fix. - typos fixed ###2024.12.11 - Initial Release. &gitURL;/packages/&name;.txz &gitURL;/packages/bc-1.07.1-x86_64-5.txz **ASPM Helper** Plugin to get the proper aspm devices for changes and set on boot if wanted. echo "Checking executable flags..." if [ -f /usr/local/emhttp/plugins/aspm-helper/scripts/none ]; then if [ ! -x /usr/local/emhttp/plugins/aspm-helper/scripts/none ]; then chmod +x /usr/local/emhttp/plugins/aspm-helper/scripts/* chmod +x /usr/local/emhttp/plugins/aspm-helper/result/* chmod +x /usr/local/emhttp/plugins/aspm-helper/autostart/* echo "scripts are executable." else echo "scripts where already executable." fi else echo "script doesn't exist." fi mkdir -p /boot/config/plugins/aspm-helper/autostart/ /usr/local/emhttp/plugins/aspm-helper/result/prepare.sh if [ ! -f /boot/config/plugins/aspm-helper/aspmhelpersettings ]; then echo "copy default settings file" cp /usr/local/emhttp/plugins/aspm-helper/defaultsettings /boot/config/plugins/aspm-helper/aspmhelpersettings else echo "settings file is already here" fi cp /boot/config/plugins/aspm-helper/autostart/* /usr/local/emhttp/plugins/aspm-helper/autostart/ sleep 1 chmod +x /usr/local/emhttp/plugins/aspm-helper/autostart/* run-parts /usr/local/emhttp/plugins/aspm-helper/autostart/ lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM |Disabled;|Enabled;)' > /usr/local/emhttp/plugins/aspm-helper/result/aspm_current.txt touch /usr/local/emhttp/plugins/aspm-helper/aspm_log.txt rm -f $(ls &plgPATH;/&name;*.txz 2>/dev/null|grep -v '&version;') echo "Removing &name;..." removepkg &plgPATH;/*.txz rm -rf &plgPATH; rm -rf &emhttp; echo "&name; has been removed"