| Server IP : 193.86.120.172 / Your IP : 216.73.216.215 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /etc.defaults/ |
Upload File : |
#!/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] | '')
;;
*)
/sbin/ip route add default via ${defaultrouter}
;;
esac
exit 0