exhanced rc.local

This commit is contained in:
2014-02-14 13:54:33 +00:00
parent c42446f437
commit 967e607b51

View File

@@ -11,11 +11,16 @@
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
/home/pi/bin/notify_boot.sh "$_IP"
/home/pi/bin/notify_boot.sh "$_IP"
fi
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.10.1 dev wlan0|| true
/bin/mount -a || true
exit 0