LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   What does the following line mean in the script? (https://www.linuxquestions.org/questions/debian-26/what-does-the-following-line-mean-in-the-script-708975/)

kushalkoolwal 03-03-2009 09:06 PM

What does the following line mean in the script?
 
I have been looking at /etc/init.d/watchdog file on Debian Lenny and I noticed the following two lines which are usually present in many scripts which resides in /etc/init.d/ directory.
Code:

[ -e /etc/default/watchdog ] && . /etc/default/watchdog
What does the above line do?

Thanks

TBC Cosmo 03-03-2009 09:10 PM

If the watchdog file exists, source it?

kushalkoolwal 03-03-2009 09:44 PM

Quote:

Originally Posted by TBC Cosmo (Post 3464041)
If the watchdog file exists, source it?

That's my guess too. Thank you!


All times are GMT -5. The time now is 05:39 AM.