Office_Networks/GA-Schloss/rc.local.GA-Schloss

26 lines
537 B
Bash
Executable File

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sleep 2
systemctl restart ipt-firewall || /bin/true
#/etc/init.d/ipt-firewall || /bin/true
#sleep 2
#/sbin/route add -net 10.11.16.0 netmask 255.255.255.0 gw 192.168.11.6 || /bin/true
#sleep 60
#/root/bin/netconfig_dsl.sh -i &
exit 0