fixconfig.svn-base

来自「realtek的8186芯片ADSL路由AP源代码」· SVN-BASE 代码 · 共 27 行

SVN-BASE
27
字号
#!/bin/sh############################################################################### Having to fix up all the configs all the time is just a pain,  here# we provide a nice way to quickly default any values that are not set## Be sure to check the diffs before you commit the changes that this# script makes.## Copyright (C) 2001 Lineo##############################################################################for i in */*/vendor.config; do	echo "Checking $i ..."	grep CONFIG_ config.in | sed 's/.*\(CONFIG_[A-Z0-9_]*\).*$/\1/' |		sort | uniq | \		while read t; do			grep "$t=" $i > /dev/null && continue			grep "$t " $i > /dev/null && continue			echo "# $t is not set" >> $i			echo "    added $t"		donedone############################################################################

⌨️ 快捷键说明

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