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
# Maybe use a Git repo to manage deny.d? | |
mkdir /etc/fastd/deny.d | |
# The file can be empty, or be used to store comments about the denylist entry, like a reason | |
echo "I don't like this peer." > /etc/fastd/deny.d/005c33d33cad50e7e187ed5298abeaa1d010f4aae4feddd89812173537f3b395 |
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/sh | |
comm="$(basename "$1")" | |
exec systemd-cat -t "$comm" -- \ | |
systemd-run \ | |
--unit="$(systemd-escape -m "$comm-r$(systemd-id128 new).scope")" \ | |
--user \ | |
--quiet \ | |
--scope \ |
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
require 'digest/md5' | |
module Static | |
@values = {} | |
def self.hashify(attr, parent = nil) | |
parent_id = if parent then parent.id else '' end | |
h = Hash[((parent || Settings)[attr] || {}).map do |name, entry| |
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
local util = require 'gluon.util' | |
local json = require 'luci.jsonc' | |
local ltn12 = require 'luci.ltn12' | |
local lutil = require 'luci.util' | |
local assert = assert | |
local io = io | |
local ipairs = ipairs |
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/config-3.18 b/target/linux/ar71xx/config-3.18 | |
index 84b5844..8191074 100644 | |
--- a/target/linux/ar71xx/config-3.18 | |
+++ b/target/linux/ar71xx/config-3.18 | |
@@ -185,6 +185,10 @@ CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y | |
CONFIG_CPU_SUPPORTS_HIGHMEM=y | |
CONFIG_CPU_SUPPORTS_MSA=y | |
CONFIG_CSRC_R4K=y | |
+CONFIG_DEBUG_KMEMLEAK=y | |
+# CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF is not set |
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
[ 34.880000] CPU 0 Unable to handle kernel paging request at virtual address 00000030, epc == 801a22e4, ra == 80ec60b4 | |
[ 34.890000] Oops[#1]: | |
[ 34.890000] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 3.18.20 #4 | |
[ 34.890000] Workqueue: phy0 ieee80211_ibss_leave [mac80211] | |
[ 34.890000] task: 81829838 ti: 81844000 task.ti: 81844000 | |
[ 34.890000] $ 0 : 00000000 00000001 00000030 00000000 | |
[ 34.890000] $ 4 : 00000030 81845c84 00000002 0000000e | |
[ 34.890000] $ 8 : 00000008 80064f48 00000001 00000013 | |
[ 34.890000] $12 : 0000000e 00000007 00000000 8034e324 | |
[ 34.890000] $16 : 81b63000 000007d7 80f92440 80e04f18 |
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
local foo = require 'luci.util' | |
local bar = require 'luci.util' | |
require 'luci.util' | |
print(foo) | |
print(bar) | |
print(luci.util) |
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/sh /etc/rc.common | |
# | |
# Copyright (C) 2013 OpenWrt.org | |
# | |
# This is free software, licensed under the GNU General Public License v2. | |
# See /LICENSE for more information. | |
# | |
START=99 |
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 switch | |
option name 'eth0' | |
option reset '1' | |
option enable_vlan '1' | |
config switch_vlan | |
option device 'eth0' | |
option vlan '1' | |
option ports '0t 2 3 4 5' |
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
--- | |
layout: base | |
--- | |
<div class="heading"> | |
<div class="row"> | |
<div class="twelve columns"> | |
<h1>Firmware</h1> | |
</div> | |
</div> |
NewerOlder