summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/init-top/xen4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/init-top/xen b/scripts/init-top/xen
index d403247..1ccf740 100755
--- a/scripts/init-top/xen
+++ b/scripts/init-top/xen
@@ -1,6 +1,8 @@
#!/bin/sh
-. /scripts/functions
+if [ -f /scripts/functions ]; then
+ . /scripts/functions
+fi
if [ "$(cat /sys/hypervisor/type 2>/dev/null || true)" = xen ] && \
[ ! -d /sys/bus/xen ]; then