>>>>> On Thu, 08 Aug 2013 17:34:48 +0200, Togan >>>>> Muftuoglu<[email protected]> said:
>>>>> On Thu, 08 Aug 2013 08:18:53 -0700, Tom Eastep <[email protected]> >>>>> said: Tom> On 8/8/2013 5:59 AM, Togan Muftuoglu wrote: >>> Hi Tom, >>> >>> Starting with openSUSE 13.1 there will be no more /etc/SuSE-release but /etc/os-release >>> The following patch corrects this behavior and checks for both >>> Tom> there some other way that we can conclusively determine that the Tom> system is running a SuSE release? Togan> himm I thought of using lsb_release but it is long answer Togan> lsb_release -i -s openSUSE project Togan> How about setting the host system manually ? 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" Togan -- 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
