[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ppp: ip-up, ip-down



Jean Orloff sent this script
>Another Very Useful Bonus (also thanks to Lukas Nellen): in /etc/ppp/ip-up
	#!/bin/sh
	#
	# IP is up now...
	#
	interface=$1
	device=$2
	speed=$3
	local_ip=$4
	remote_ip=$5
	
	# let's use this opportunity to flush our mail queue
	#/usr/lib/sendmail -q &
	
	# broadcast IP up message
	echo Local IP: $local_ip through $interface on $device is up | wall

I think that there are cases where the routing tables should be adjusted here
as well.

Nathan



Reply to: