Skip to content

Instantly share code, notes, and snippets.

View mikysal78's full-sized avatar

Michele Salerno mikysal78

View GitHub Profile
#/bin/bash
if [ "$(id -u)" == "0" ]; then
echo "Sei root, devi lanciarlo come user normale" 1>&2
exit 1
fi
sudo apt-get install dh-systemd libnl-3-dev libnl-genl-3-dev libnl-utils pkg-config doxygen build-essential devscripts cmake
PATH_OLSR="$HOME/olsr2"
@mikysal78
mikysal78 / compile-ninux-openwrt.sh
Created February 21, 2016 22:09
Compilazione automatizzata del pacchetto OpenWRT Chaos per Ninux.org
#!/bin/bash
BASE_DIR="/YourPath"
ARCHS="ar71xx"
if [ -d openwrt ]; then
cd openwrt && git pull
fi
if [ ! -d openwrt ]; then