exhanced rc.local

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

View File

@@ -11,6 +11,7 @@
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
@@ -18,4 +19,8 @@ if [ "$_IP" ]; then
/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