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

Re: script




 ifup eth0 ;
 /etc/init.d/./samba start ;
 /etc/init.d/./hylafax start



vdemart@supereva.it (Victor) writes:

> I'm editing a bash script but I need to execute in the given order
> each command to completion. E.g.
> 
> ifup eth0
> /etc/init.d/./samba start
> /etc/init.d/./hylafax start
> 
> Unfortunately putting this lines in a file, while the script is still
> executing ifup eth0, samba and then hylafax are executed, messing it
> all up.
> 
> What shall I do?


-- 
*  For God so loved the world that He gave his only begotten Son,  *
*  that whoever believes in Him should not perish...    John 3:16  *
 



Reply to: