rc.local
von Anonymous- SNIPPET_TEXT:
-
- i!/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.
- #Route vergeben
- route add default gw 192.168.178.1
- #Nameserver
- #tte.de/grep -vq 192.168.178.1 /etc/resolv.conf
- #echo nameserver 192.168.178.1 >> /etc/resolv.conf
- echo nameserver 85.214.73.63 >> /etc/resolv.conf
- exit 0
Quellcode
Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN