This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Plugin python> | |
ModulePath "/home/imil/collectd" | |
Import "ethermine" | |
<Module ethermine> | |
wallet "0xf00f00f00" | |
interval "300" | |
url "https://ethermine.org/api/miner_new" | |
</Module> | |
</Plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/xbin/sh | |
#LEVEL=$1 | |
LEVEL="VERBOSE" | |
PROPS=" | |
AndroidRuntime | |
ActivityManager | |
ActivityThread | |
PackageManager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Executing /etc/qemu-ifdown" | |
echo "Bringing TAP interface down" | |
ifconfig $1 down | |
echo "Removing interfaces" | |
ifconfig bridge0 deletem en1 deletem $1 | |
echo "Bring down bridge" | |
ifconfig bridge0 down | |
echo "Removing bridge" | |
ifconfig bridge0 destroy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Executing /etc/qemu-ifup" | |
echo "Creating bridge" | |
sysctl -w net.link.ether.inet.proxyall=1 | |
sysctl -w net.inet.ip.forwarding=1 | |
sysctl -w net.inet.ip.fw.enable=1 | |
ifconfig bridge0 create | |
echo "Bringing up $1 for bridged mode" | |
ifconfig $1 0.0.0.0 up | |
echo "Add $1 to bridge" |