mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Basic implementation of 'fallback ip' at the request of Vasily, Miroslav, Mikhail and other eagles.
							parent
							
								
									3fc28e4226
								
							
						
					
					
						commit
						e849e6bd84
					
				|  | @ -56,6 +56,7 @@ case "$1" in | ||||||
| 		if [ -x /usr/sbin/avahi-autoipd ]; then | 		if [ -x /usr/sbin/avahi-autoipd ]; then | ||||||
| 			/usr/sbin/avahi-autoipd -c $interface || /usr/sbin/avahi-autoipd -wD $interface --no-chroot | 			/usr/sbin/avahi-autoipd -c $interface || /usr/sbin/avahi-autoipd -wD $interface --no-chroot | ||||||
| 		fi | 		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) | 	renew|bound) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue