summaryrefslogtreecommitdiffstats
path: root/distribution/virt/import/isxen
blob: 44c26505e5b811974693cddca9e228fc6a241924 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
#
# a stupid script to determine is the system is running on xen kernel or not 
# returns zero if it is, non-zero if it's not..

if uname -r | grep -q xen; then 
	exit 0
else
	exit 1
fi