Displaying 1 result from an estimated 1 matches for "post_up".
Did you mean:
post_id
2010 Sep 03
1
[PATCH] New '-o' option to configure server or hosts from command line
...ress depends on its location.
---
This patch is against stable branch. Merging this patch to the 1.1
branch is trivial.
I use this patch on my Debian for several weeks.
Here is the ifupdown script I use (some information are obfuscated with
'X' or 'Y'):
#!/bin/sh -e
IP=X.X.X.X
post_up () {
[ -e /sys/class/net/jmuchemb ] && return
set -- -d -o ConnectTo=srv -o srv.Address=$IP \
-o ConnectTo=srv2 -o srv2.Address=Y.Y.Y.Y
case $LOGICAL in
wifi-amuchemb)
set -- -o ConnectTo=srv2 -o srv2.Address=192.168.1.1
;;
wifi-jmuchemb|eth-jm...