This file contains hidden or 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 | |
| cat <<EOF | |
| Настройка подсети для умных вещей | |
| - интерфейс WLAN0 | |
| - DHCP (192.168.254.0) | |
| EOF | |
| read -p "Настроить сеть(y/n)? " -n 1 -r |
This file contains hidden or 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 | |
| cat <<EOF | |
| Настройка брокера MOSQUITTO для умных вещей | |
| EOF | |
| read -p "Настроить MOSQUITTO(y/n)? " -n 1 -r | |
| if [[ $REPLY =~ ^[Yy]$ ]] |
This file contains hidden or 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 | |
| cat <<EOF | |
| Настройка HOSTAPD для RT5370 | |
| - интерфейс WLAN0 | |
| - DHCP (192.168.254.0) | |
| EOF | |
| read -p "Настроить HOSTAPD (y/n)? " -n 1 -r |
This file contains hidden or 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 | |
| ## | |
| # This is a script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # Run in interactive mode with: | |
| # $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)" | |
| # | |
| # or run it without prompt questions: |