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

📄 ifup-hdlc

📁 This a SOFTWARE pbx DRIVER
💻
字号:
#!/bin/shPATH=/sbin:/usr/sbin:/bin:/usr/bincd /etc/sysconfig/network-scripts. network-functionsCONFIG=$1source_configif [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" ]then	exitfiif [ -z "${MODE}" ]; then	echo "No mode specified!"	exitfisethdlc ${DEVICE} mode ${MODE}ifconfig ${DEVICE} ${IPADDR} pointopoint ${REMIP}route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}# this is broken! it's only here to keep compatibility with old RH sytstemsif [ "${GATEWAY}" != "" -a "${GATEWAY}" != "none" ]then	route add default gw ${GATEWAY} metric 1 ${DEVICE}fi. /etc/sysconfig/networkif [ "${GATEWAY}" != "" ]; then	if [ "${GATEWAYDEV}" = "" -o "${GATEWAYDEV}" = "${DEVICE}" ]; then		# set up default gateway		route add default gw ${GATEWAY}	fifi/etc/sysconfig/network-scripts/ifup-post $1

⌨️ 快捷键说明

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