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 | |
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" |
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 | |
BASE_DIR="/YourPath" | |
ARCHS="ar71xx" | |
if [ -d openwrt ]; then | |
cd openwrt && git pull | |
fi | |
if [ ! -d openwrt ]; then |