diff --git a/plugins/libvirtwol.plg b/plugins/libvirtwol.plg new file mode 100644 index 00000000..f2fb505b --- /dev/null +++ b/plugins/libvirtwol.plg @@ -0,0 +1,127 @@ + + + + + + + + + + + + +]> + + + + + +###2015.12.01 +- added fix for other packet sizes +###2015.11.18 +- update python to 2.7.9 +###2015.11.17 +- fix start and stop event permissions +###2015.11.16 +- added promiscuous mode to listen for all packets +- will recieve all ether proto 0x0842 packets now +###2015.11.15 +- added support for ethertype 0x0842 +- tested with ether-wake but asus router still not waking +###2015.11.14c +- fix plugin page image and link +- pkg variable typo +###2015.11.14 +- initial commit + + + + +https://raw.githubusercontent.com/eschultz/unraid6-nerdpack/master/packages/python-2.7.9-x86_64-1.txz +7d5f6d12757c59e5f08ca25bd63aab78 + + +&pkgURL;libvirt-python-1.2.18-x86_64-1ponce.txz +4198c7784a57d7ff80fb1d53811ceb5e + + +&pkgURL;libpcap-1.4.0-x86_64-1.txz +cbe651aff5d49d1c3a5a7ad6a4262393 + + +&pkgURL;pylibpcap-0.6.2-x86_64-1_slack.txz +2531f44126b3c05d76782c9eedba9988 + + + + +"https://github.com/&author;/&name;/archive/&version;.tar.gz" + + + + + +if [ ! -d &emhttp; ]; then + mkdir -p &emhttp; +fi +tar -zxf &plugin;/&name;-&version;.tar.gz --strip=1 -C &emhttp;/ +find &plugin; -type f -iname "*.tar.gz" ! -iname "&name;-&version;.tar.gz" -delete +chmod +0755 /usr/local/emhttp/plugins/&name;/scripts/* +sed -i -- 's/OtherSettings/VMManager:1/g' /usr/local/emhttp/plugins/dynamix.vm.manager/VMSettings.page + +echo "" +echo "-----------------------------------------------------------" +echo " &name; has been installed." +echo " This plugin requires Dynamix webGui to operate" +echo " Copyright 2015, &author;" +echo " Version: &version;" +echo "-----------------------------------------------------------" +echo "" + + + + + + +/usr/local/emhttp/plugins/&name;/scripts/stop +rm -rf /usr/local/emhttp/plugins/&name; +rm -f &plugin;/&name;-&version;.tar.gz +sed -i -- 's/VMManager:1/OtherSettings/g' /usr/local/emhttp/plugins/dynamix.vm.manager/VMSettings.page + +echo "" +echo "-----------------------------------------------------------" +echo " &name; has been removed." +echo " Copyright 2015, &author;" +echo " Version: &version;" +echo "-----------------------------------------------------------" +echo "" + + + + + +> "$CFGFILE" +rm /tmp/libvirtwol-chkconf +]]> + + + +