This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
os_x [2014/02/11 09:44] – admin | os_x [2015/10/30 10:15] – admin | ||
---|---|---|---|
Line 131: | Line 131: | ||
- | ===== Router | + | ===== Route dauerhaft hinzufügen ===== |
- | Im Terminal das Verzeichnis öffnen: | + | ==== .plist |
- | + | ||
- | cd / | + | |
- | + | ||
- | Ordner AddRoutes erstellen und öffnen: | + | |
- | + | ||
- | mkdir AddRoutes | + | |
- | cd AddRoutes | + | |
- | + | ||
- | AddRoutes | + | |
- | + | ||
- | nano -w AddRoutes | + | |
- | + | ||
- | erstellen mit folgendem Inhalt | + | |
- | + | ||
- | #!/bin/sh | + | |
- | + | ||
- | # Set static routing tables | + | |
- | + | ||
- | . / | + | |
- | + | ||
- | StartService () | + | |
- | { | + | |
- | if [ " | + | |
- | ConsoleMessage " | + | |
- | sudo route -nv add 192.168.11.0 192.168.12.254 | + | |
- | fi | + | |
- | } | + | |
- | + | ||
- | StopService () | + | |
- | { | + | |
- | return 0 | + | |
- | } | + | |
- | + | ||
- | StopService () | + | |
- | { | + | |
- | return 0 | + | |
- | } | + | |
- | + | ||
- | RestartService () | + | |
- | { | + | |
- | return 0 | + | |
- | } | + | |
- | + | ||
- | RunService " | + | |
+ | In **/ | ||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | <plist version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | <true /> | ||
+ | < | ||
+ | <false /> | ||
+ | </ | ||
+ | </ | ||
+ | </ |