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

📄 config

📁 wvdial 软件包是一个自动拨号程序
💻
字号:
#!/bin/shset -e# Source debconf library. /usr/share/debconf/confmoduledb_capb backup# Update the Debconf database with information from /etc/wvdial.confif [ -e /etc/wvdial.conf ] && type uni >/dev/null 2>/dev/null; then    export UNICONF='ini:/etc/wvdial.conf'    update_db()    {	RET=`uni get "$1"`	if [ $? ]; then	    db_set "$2" "$RET"	fi    }else    # We can't do anything    update_db()    {	true    }fiSTATE=1LASTSTATE=5while [ "$STATE" != 0 ] && [ "$STATE" -le "$LASTSTATE" ]; do    case "$STATE" in	1)	    db_input low wvdial/wvdialconf || true            ;;	2)	    db_get wvdial/wvdialconf	    if [ "$RET" = "true" ]; then		update_db 'Dialer Defaults/Phone' wvdial/phone		db_input medium wvdial/phone || true	    fi            ;;	3)	    db_get wvdial/wvdialconf	    if [ "$RET" = "true" ]; then		update_db 'Dialer Defaults/Username' wvdial/login		db_input medium wvdial/login || true	    fi            ;;	4)	    db_get wvdial/wvdialconf	    if [ "$RET" = "true" ]; then		update_db 'Dialer Defaults/Password' wvdial/passphrase		update_db 'Dialer Defaults/Password' wvdial/passphrase2		db_input medium wvdial/passphrase || true		db_input medium wvdial/passphrase2 || true	    fi            ;;	5)	    db_get wvdial/wvdialconf	    if [ "$RET" = "true" ]; then		db_get wvdial/passphrase		PASSPHRASE="$RET"		db_get wvdial/passphrase2		if [ "$RET" != "$PASSPHRASE" ]; then		    db_input medium wvdial/passphrases_mismatch || true		    db_reset wvdial/passphrase		    db_reset wvdial/passphrase2		    db_fset wvdial/passphrase seen false		    db_fset wvdial/passphrase2 seen false		    STATE=3		fi	    fi	    ;;    esac    if db_go; then	STATE=$(($STATE + 1))    else	STATE=$(($STATE - 1))    fidone

⌨️ 快捷键说明

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