ip-up local
edwarner99 at yahoo.com
edwarner99 at yahoo.com
Thu Aug 5 22:18:35 UTC 2004
How can I tell if the script in /etc/ppp/ip-up.local
is being executed, or where the problem lies?
I have the following in /etc/ppp/ip-up:
#!/bin/bash
# This file should not be modified -- make local
changes to
# /etc/ppp/ip-up.local instead
LOGDEVICE=$6
REALDEVICE=$1
[ -f /etc/sysconfig/network-scripts/ifcfg-${LOGDEVICE}
] && /etc/sysconfig/network-scripts/ifup-post
ifcfg-${LOGDEVICE}
[ -x /etc/ppp/ip-up.local ] && /etc/ppp/ip-up.local
"$@"
exit 0
------------------
I have the following in /etc/ppp/ip-up.local:
#!/bin/bash
PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
export PATH
sh /etc/firestarter/firewall.sh
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
More information about the fedora-list
mailing list