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

Re: Modifying Routing Tables on the fly



Craig,

I used the following in ip-up

---cut here---
#!/bin/sh

USER=$( who|grep ttyS1 | awk '{printf $1}')

case $USER in
        fulltest)       /sbin/route add 192.168.1.1 eth0;;
esac
--cut here--

Again, Many thanks

Ian



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: