Update of /cvsroot/leaf/src/config/webconf/var/webconf/lib
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv18317
Modified Files:
ipsec.func
Log Message:
fixed regex in replace.psk
Index: ipsec.func
===================================================================
RCS file: /cvsroot/leaf/src/config/webconf/var/webconf/lib/ipsec.func,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ipsec.func 22 Dec 2009 09:02:39 -0000 1.4
--- ipsec.func 11 Jun 2010 08:38:34 -0000 1.5
***************
*** 173,177 ****
replace_psk(){
[ -z $CONFIG_rightid ] && rightid=$CONFIG_right
! [ -n $rightid ] && $SED -e
"s/^\($rightid.*PSK.*\)\"\(.*\)\".*$/\1\"$1\"/" < $SECRETS_FILE $TEMP_CONTROL
mv $TEMP_CONTROL $SECRETS_FILE
}
--- 173,177 ----
replace_psk(){
[ -z $CONFIG_rightid ] && rightid=$CONFIG_right
! [ -n $rightid ] && $SED -e "s/^\($rightid.*PSK\).*$/\1 \"$1\"/" <
$SECRETS_FILE > $TEMP_CONTROL
mv $TEMP_CONTROL $SECRETS_FILE
}
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits