Basic implementation of 'fallback ip' at the request of Vasily, Miroslav, Mikhail and other eagles.

pull/76/head
Igor Zalatov (from Citadel PC) 2021-11-30 00:50:48 +03:00
parent 3fc28e4226
commit e849e6bd84
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ case "$1" in
if [ -x /usr/sbin/avahi-autoipd ]; then
/usr/sbin/avahi-autoipd -c $interface || /usr/sbin/avahi-autoipd -wD $interface --no-chroot
fi
/sbin/ifconfig $interface $(fw_printenv -n ipaddr || echo -n 192.168.1.10) netmask $(fw_printenv -n netmask || echo -n 255.255.255.0) up
;;
renew|bound)