📄 config
字号:
#! /bin/sh -e## Copyright 2000,2001,2002 by Dennis Schoen <dennis@cobolt.net>## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public# License along with this program; if not, write to the Free# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,# MA 02111-1307 USA.# Source debconf library. /usr/share/debconf/confmoduleif [ -e /etc/ntop/init.cfg ]; then # Read current state from configuration file. /etc/ntop/init.cfg || true db_set ntop/user $USER db_set ntop/getopt $GETOPT db_set ntop/port $PORT db_set ntop/sslport $SSLPORT db_set ntop/interfaces $INTERFACES db_set ntop/trace $TRACEfidb_input medium ntop/mode || truedb_godb_get ntop/modedb_input medium ntop/interfaces || truedb_godb_get ntop/interfacesINTERFACES=$RETdb_input medium ntop/port || truedb_godb_get ntop/portPORT=$RETdb_input medium ntop/sslport || truedb_godb_get ntop/sslportSSLPORT=$RETdb_input medium ntop/getopt || truedb_godb_get ntop/getoptOPTION=$RETdb_input medium ntop/trace || truedb_godb_get ntop/traceTRACE=$RETdb_input medium ntop/user || truedb_godb_get ntop/userUSER=$RETif grep -q ^$USER: /etc/passwd; then CREATEUSER=falseelse db_subst ntop/createuser USER $USER db_input medium ntop/createuser || true db_go db_get ntop/createuser || true CREATEUSER=$RETfidb_set ntop/createuser $CREATEUSER
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -