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
--- a/src/acpi.c 2013-01-19 06:44:54.000000000 +0600 | |
+++ b/src/acpi.c 2013-05-07 01:16:30.000000000 +0600 | |
@@ -214,6 +214,11 @@ | |
#include "acpi-dsdt.hex" | |
+#define CONFIG_OEM_SLIC | |
+#ifdef CONFIG_OEM_SLIC | |
+#include "acpi-slic.hex" | |
+#endif |
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
diff --git a/src/fw/acpi.c b/src/fw/acpi.c | |
index 042d571..741a3cb 100644 | |
--- a/src/fw/acpi.c | |
+++ b/src/fw/acpi.c | |
@@ -25,6 +25,11 @@ | |
u32 acpi_pm1a_cnt VARFSEG; | |
+#define CONFIG_OEM_SLIC | |
+#ifdef CONFIG_OEM_SLIC |
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
--- options.py 2013-06-20 17:00:12.000000000 +0000 | |
+++ options.py 2014-04-04 03:42:52.787860756 +0000 | |
@@ -1028,6 +1028,7 @@ | |
self.stderr = sys.stderr = sys.__stderr__ = open("/dev/null", "w") | |
os.setsid() | |
os.umask(self.umask) | |
+ signal.signal(signal.SIGHUP, signal.SIG_IGN) | |
# XXX Stevens, in his Advanced Unix book, section 13.3 (page | |
# 417) recommends calling umask(0) and closing unused | |
# file descriptors. In his Network Programming book, he |
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
diff --git a/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c b/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c | |
index ab952b6..effcac7 100644 | |
--- a/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c | |
+++ b/target/linux/ar71xx/files/drivers/mtd/tplinkpart.c | |
@@ -149,7 +149,6 @@ static int tplink_parse_partitions(struct mtd_info *master, | |
parts[0].name = "u-boot"; | |
parts[0].offset = 0; | |
parts[0].size = offset; | |
- parts[0].mask_flags = MTD_WRITEABLE; | |
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
import os | |
from fabric.api import task, run | |
from fabric.contrib.files import append, contains | |
try: | |
import hosts # include host settings for fabric | |
except ImportError: | |
print('Warning: No Hosts file found, continuing') | |
def read_key_file(key_file): |
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
#!/usr/bin/env python | |
import pcap | |
TYPE_DISCOVERY = '\x88\x63' | |
TYPE_SESSION = '\x88\x64' | |
PADI = '\x09' | |
PADO = '\x07' | |
PADR = '\x19' |
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
sudo apt-get install zram-config |
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
sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' ios_binary | |
ldid -s ios_binary |
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
echo "options rtl8723ae ips=0 fwlps=0" | sudo tee /etc/modprobe.d/rtl8723ae.conf | |
echo "options 8192cu rtw_power_mgnt=0 rtw_enusbss=0" | sudo tee /etc/modprobe.d/8192cu.conf |
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
config autossh | |
option ssh '-i /PATH/TO/PRIVKEY -N -T -R REMOTEPORT:127.0.0.1:22 -- -y -l USERNAME -p PORT HOST' | |
option gatetime '0' | |
option monitorport 'MONITORPORT' | |
option poll '600' |
OlderNewer