blob: e1653e3936034dfbd6546b700baec8092ce8f8f8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
failsafe_ip() {
[ -n "$pi_ifname" ] && grep -q "$pi_ifname" /proc/net/dev && {
ifconfig $pi_ifname $pi_ip netmask $pi_netmask broadcast $pi_broadcast up
}
}
boot_hook_add failsafe failsafe_ip
|