Listing 3. /etc/ppp/ip-down Script

#!/bin/sh

# remove ip masquerading
/usr/sbin/rmmod ip_masq_ftp

# remove info file
rm -f /var/run/ppp.info