[CS-FSLUG] SHELP!!!

K. Luckenbaugh kluck at gdrs.com
Thu Jul 22 14:35:57 CDT 2004


Stephen J. McCracken wrote:

>>What is the syntax for multiple commands (ie. ifdown, then ifup).
>>    
>>
>
>Have you tried sending the commands all at once?  (e.g. ifdown && sleep
>5 && ifup)
>
>  
>
Yeah, I tried that. It isn't working.

Here is my script:

#!/bin/sh

cd /home/kyro4/Desktop
sudo cp ifcfg-eth-id-xx:xx:xx:xx:xx:xx  /etc/sysconfig/network/
konsole -e   sudo /sbin/ifdown eth0 && sleep 5 && /sbin/ifup eth0&

exit 0




Takes down eth0, window closes, doesn't bring eth0 back up.


>_______________________________________________
>ChristianSource FSLUG mailing list
>Christiansource at ofb.biz
>http://cs.uninetsolutions.com
>
>  
>





More information about the Christiansource mailing list