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 python3 | |
# | |
# Nokia/Alcatel-Lucent router backup configuration tool | |
# | |
# Features: | |
# - Unpack/repack .cfg files generated from the backup and restore functionnality | |
# in order to modify the full router configuration | |
# - Decrypt/encrypt the passwords/secret values present in the configuration |
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/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | |
@@ -1592,6 +1592,7 @@ struct bnx2x { | |
uint num_ethernet_queues; | |
uint num_cnic_queues; | |
int disable_tpa; | |
+ int mask_tx_fault; | |
u32 rx_mode; | |
#define BNX2X_RX_MODE_NONE 0 |
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
mycss=prompt('请输入你需要的CSS'); | |
formhash=document.querySelector('input[name=formhash]').value; | |
fetch("/home.php?mod=spacecp&ac=index", {"credentials":"include","headers":{"content-type":"application/x-www-form-urlencoded"},"body":"spacecss=" | |
+ encodeURIComponent(mycss) + "&formhash=" + formhash + "&style=t8&layoutdata=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22ISO-8859-1%22%3F%3E%3Croot%3E%3Citem+id%3D%22diypage%22%3E%3Citem+id%3D%22frame%60frame1%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bframe1%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22moveable%22%3E%3C%21%5BCDATA%5Bfalse%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bframe+cl%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22titles%22%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22column%60frame1_left%22%3E%3Citem+id%3D%22attr%22%3E%3Citem+id%3D%22name%22%3E%3C%21%5BCDATA%5Bframe1_left%5D%5D%3E%3C%2Fitem%3E%3Citem+id%3D%22className%22%3E%3C%21%5BCDATA%5Bz+column%5D%5D%3E%3C%2Fitem%3E%3C%2Fitem%3E%3Citem+id%3D%22block%60profil |
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 | |
# Place in /etc/hotplug.d/iface/ | |
[ "$INTERFACE" = "wan6" ] || exit 0 | |
CRON_CMD='0 * * * * kill -SIGUSR1 $(pgrep odhcp6c)' | |
if [ "$ACTION" = "ifup" ]; then | |
grep -Fq "$CRON_CMD" /etc/crontabs/root || { | |
echo "$CRON_CMD" >> /etc/crontabs/root |
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
# -*- text -*- | |
# SOFTBANK BB Corp. CPE(E-WMTA2.x/XG-100NE) | |
# $Id$ | |
VENDOR sbb 22197 | |
BEGIN-VENDOR sbb | |
ATTRIBUTE CPE-MAC-Address 1 string | |
ATTRIBUTE CPE-Vendor-Name 2 string | |
ATTRIBUTE CPE-Product-Name 3 string |