⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nattpatch

📁 This a good VPN source
💻
字号:
#!/bin/sh# wander through a FreeSWAN linux directory, creating a patch file (to stdout)# that will apply the code to a kernel source directory.## $Id: nattpatch,v 1.1 2004/01/06 05:21:19 mcr Exp $#KERN=$1shiftcase $KERN in    2.0) patchname=fs2_0;;    2.2) patchname=fs2_2;;    2.4) patchname=fs2_4;;    2.5) patchname=fs2_5;;    *) echo "Invalid kernel patch target: $KERN"; exit 1;;esac# make sure that sort gets the right locale.LANG=C export LANGLC_ALL=C export LC_ALLfind nat-t -type f -print | grep -v CVS | egrep -v 'linux/Makefile' | sort | while read file do   base=`basename $file`  case $base in     TAGS) ;;    tags) ;;    .cvsignore) ;;    .*.o.flags) ;;    .\#*);;    *.o) ;;    *~) ;;    tagsfile.mak) ;;    *.$patchname.patch) cat $file;;    *.patch) ;;    *) diff -u /dev/null $file;;  esacdoneexit 0	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -