HEX
Server: Apache/2.2.34 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141
System: Linux Kou-Etsu-Dou 4.4.59+ #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021 x86_64
User: hosam (1026)
PHP: 7.2.29
Disabled: NONE
Upload Files
File: //proc/self/root/etc/rc.network_routing
#!/bin/sh
# Copyright (c) 2000-2010 Synology Inc. All rights reserved.

# Configure routing
#

defaultrouter=$1

# Wait for a while until the network is ready
sleep 10

if [ -d "/initrd" ]; then
	# If it's in junior mode
	/usr/syno/sbin/synonetdtool --refresh-gateway all
fi

case ${defaultrouter} in
	[Nn][Oo] | '')
		;;
	*)
		/bin/ip route add default via ${defaultrouter}
		;;
esac

exit 0