>>>>> On Thu, 08 Aug 2013 09:55:56 -0700, Tom Eastep <[email protected]>
>>>>> said:
Tom> On 8/8/2013 8:59 AM, Togan Muftuoglu wrote:
>> On a second though, how about getting the ID variable form the
>> /etc/os-release
>>
>> cat /etc/os-release |grep ^ID ID=opensuse
>>
>> According to
>> http://www.freedesktop.org/software/systemd/man/os-release.html#ID= and
>> http://www.freedesktop.org/software/systemd/man/os-release.html#Example
>> where the ID is "fedora"
>>
Tom> I like that idea -- and the ID for Debian is 'debian'.
or
source /etc/os-release
if [ $NAME = "openSUSE" ] ; then...
fi
--
Life is endless possibilities
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel