Last active
August 29, 2015 14:13
-
-
Save mamemomonga/abcb2c278e689656b595 to your computer and use it in GitHub Desktop.
Print the IP address( from raspbian /etc/rc.local )
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
# Print the IP address | |
_IP=$(hostname -I) || true | |
if [ "$_IP" ]; then | |
printf "My IP address is %s\n" "$_IP" | |
fi | |
# Debianで起動後画面を消さないなら | |
vim /etc/inittab | |
1:2345:respawn:/sbin/getty --noclear 38400 tty1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment