[SLE] ifservices scripts for tun device
- From: Sunny <sloncho@xxxxxxxxx>
- Date: Mon, 31 Jul 2006 14:21:14 -0500
Hi,
I have a tun0 device, created by the openvpn connection to another
machine. I need to start some script _after_ the vpn is fully
initialized - i.e. after the tun0 device is set up (it takes a little
time). I tried to set this script as a service, which runs after all
other services (incl. openvpn) are started, but it still fails,
because it tries too early, before the tun device is up.
So, looks like I have to go trough another route - like using all the
infrastructure under if-up maybe, i.e. using ifservices-xxxx. I have
created /etc/sysconfig/network/ifservices-tun0 directory, and put
there links to the start/stop scrip, but it never gets kicked.
Any ideas what's wrong, or how I can apporach this problem?
Thanks
--
--
Svetoslav Milenov (Sunny)
Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit
operating system originally coded for a 4-bit microprocessor by a
2-bit company that can't stand 1 bit of competition.
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- Follow-Ups:
- Re: [SLE] ifservices scripts for tun device
- From: Per Jessen
- Re: [SLE] ifservices scripts for tun device
- Prev by Date: Re: [SLE] kmenu icons
- Next by Date: [SLE] spam
- Previous by thread: [SLE] Setting User Quota
- Next by thread: Re: [SLE] ifservices scripts for tun device
- Index(es):