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
./configure \ | |
--program-prefix="" \ | |
--program-suffix="" \ | |
--prefix=/usr \ | |
--exec-prefix=/usr \ | |
--bindir=/usr/bin \ | |
--sbindir=/usr/sbin \ | |
--libexecdir=/usr/lib \ | |
--sysconfdir=/etc \ | |
--datadir=/usr/share \ |
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/python | |
from __future__ import print_function | |
import sys | |
import datetime | |
import time | |
import requests | |
import re | |
from tabulate import tabulate | |
import locale |
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
file lynx mc wget curl nfs-kernel-server ca-certificates cifs-utils unzip gawk lzop bc | |
build-essential | |
pkg-config autoconf automake libtool quilt patch cmake flex | |
git git-lfs git-email git-svn subversion mercurial bzr | |
intltool xsltproc gettext rsync asciidoc | |
crossbuild-essential-armel pkg-config-arm-linux-gnueabi crossbuild-essential-armhf pkg-config-arm-linux-gnueabihf | |
apt-transport-https binfmt-support qemu-user-static | |
manpages-dev manpages-posix-dev glibc-doc | |
debian-keyring debian-archive-keyring ubuntu-keyring | |
libssl-dev libncurses5-dev zlib1g-dev libgtk2.0-dev libgcrypt20-dev libxml2-dev libcurl4-openssl-dev libusb-1.0-0-dev |
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
dnsmasq -k -K -F 192.168.1.20,192.168.1.100,120 --dhcp-script=$(pwd)/action.sh | |
#!/bin/bash | |
ACTION="$1" | |
MACADDRESS="$2" | |
IPADDRESS="$3" | |
HOSTNAME="$4" |
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 | |
CMAKE_SHARED_LDFLAGS="-Wl,-Bsymbolic-functions" | |
TARGET_CFLAGS="-ffunction-sections -fdata-sections" | |
CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE:String=\"Release\" -DUSE_SHARED_MBEDTLS_LIBRARY:Bool=ON -DENABLE_TESTING:Bool=OFF -DENABLE_PROGRAMS:Bool=OFF" | |
CFLAGS="$TARGET_CFLAGS $EXTRA_CFLAGS" \ |