On Mon, Jul 04, 2005 at 12:23:51PM +0200, Manfred Heubach wrote: > Hello, > > I'm looking for a simple way to determine from a bash script if the > loaded kernel supports vserver or not. This should work for both 2.4 and > 2.6 kernels. > > I can call vserver-stat and get "function not implemented" on a kernel > without the vserver patches - but this is not what I really want to do.
check out testme.sh http://vserver.13thfloor.at/Stuff/SCRIPT/testme.sh best, Herbert > Best regards > Manfred > _______________________________________________ > Vserver mailing list > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
