源码地带 > 电路图 > 电子资料下载 > 网络 >ipsec vpn > 查看压缩包源码

ipsec vpn

源代码在线查看: kernelpatching.sh

软件大小: 3514 K
上传用户: akk79600872
关键词: ipsec vpn
下载地址: 免注册下载 普通下载 VIP

相关代码

				# routines to help build patch files.								fakeallpatch() {				    # $1 true/false as to whether to continue				    # $2 file contents				    # $3 target name								    doit=$1				    content=$2				    target=$3								    if $doit				    then					:				    else					return				    fi								    set -- `wc -l $content `				    lines=$1								    echo '--- /dev/null   Tue Mar 11 13:02:56 2003'				    echo "+++ $target     Mon Feb  9 13:51:03 2004"				    echo "@@ -0,0 +1,$lines @@"				    sed -e 's/^/+/' $content 				}								doversion() {				    content=$1								    target=`echo $content | sed -e 's/.in.c/.c/'`								    set -- `wc -l $content `				    lines=$1				    				    # get IPSECVERSION				    source Makefile.ver								    echo '--- /dev/null   Tue Mar 11 13:02:56 2003'				    echo "+++ $target     Mon Feb  9 13:51:03 2004"				    echo "@@ -0,0 +1,$lines @@"				    sed -e 's/^/+/' -e '/"/s/xxx/'${IPSECVERSION}'/' $content 				}											

相关资源