[sisyphus] заболели net-scripts or pppd

Alex Yustasov =?iso-8859-1?q?snmon_=CE=C1_server=2Eby?=
Ср Янв 12 20:25:14 MSK 2005


On Wed, Jan 12, 2005 at 05:51:02PM +0300, Aleksey Birukov wrote:
> < NS_IFUP=/etc/sysconfig/network-scripts/ifup-post
> < N_C_S_CONFIG=/etc/sysconfig/network
> <
> < . $N_C_S_CONFIG
> <
> < case $CONFMETHOD in
> <       etcnet)
> <               # Just do nothing atm (no ppp support in /etc/net).
> < #             exec $ETCNET_IFUP $REALDEVICE
> <       ;;
> <       *)
> <               exec $NS_IFDOWN "ifcfg-$LOGDEVICE"
Почему-то NS_IFDOWN, нужно
		    if [ -n "$LOGDEVICE" ]; then
			    exec $NS_IFUP "ifcfg-$LOGDEVICE"
		    fi
и в ip-down тоже с NS_IFDOWN
> <       ;;
> < esac
> ---
> > /etc/sysconfig/network-scripts/ifup-post "ifcfg-$LOGDEVICE"
> 75d59



Подробная информация о списке рассылки Sisyphus