Re: Bash script calling python script fails

2015-06-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Jun 17, 2015 at 08:16:29AM +0200, rudu wrote: > Le 16/06/2015 17:38, rudu a écrit : [...] > When launched from the symlink, this code set the working directory > to if-up.d where no python script was to be found. > My bad, but thanks a lot to

Re: Bash script calling python script fails

2015-06-16 Thread rudu
Le 16/06/2015 17:38, rudu a écrit : Tomas, you hit something here I guess : I ran the symlink as root from /etc/network/if-up.d/ :/etc/network/if-up.d# ./dynhost And received the same e-mail as after a reboot (see below) + my dynhost address has not been updated Well, I finally got it right. I

Re: Bash script calling python script fails

2015-06-16 Thread rudu
Le 16/06/2015 15:53, to...@tuxteam.de a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 16, 2015 at 03:01:30PM +0200, rudu wrote: Le 16/06/2015 12:47, to...@tuxteam.de a écrit : On Tue, Jun 16, 2015 at 11:23:51AM +0200, rudu wrote: Hello, There's something I just can't figur

Re: Bash script calling python script fails

2015-06-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 16, 2015 at 03:01:30PM +0200, rudu wrote: > Le 16/06/2015 12:47, to...@tuxteam.de a écrit : > >On Tue, Jun 16, 2015 at 11:23:51AM +0200, rudu wrote: > >>Hello, > >>There's something I just can't figure out : [...] > Thank you Tomas, > You

Re: Bash script calling python script fails

2015-06-16 Thread rudu
Le 16/06/2015 12:47, to...@tuxteam.de a écrit : On Tue, Jun 16, 2015 at 11:23:51AM +0200, rudu wrote: Hello, There's something I just can't figure out : I wrote a bash script to compare my actual IP address to the one of my DynDNS service provider. That bash script calls a python script (provide

Re: Bash script calling python script fails

2015-06-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Jun 16, 2015 at 11:23:51AM +0200, rudu wrote: > Hello, > There's something I just can't figure out : > I wrote a bash script to compare my actual IP address to the one of > my DynDNS service provider. > That bash script calls a python script (p