Restart lxc-reference after installation.
[lxc-reference.git] / initscript / lxc-reference
index bdf6058..50cb01d 100644 (file)
@@ -18,6 +18,11 @@ case "$1" in
         ;;
 esac
 
+# Check if we are in the build environment
+mount | grep 'planetlab-vservers' > /dev/null
+RETVAL=$?
+[ $RETVAL -ne 0 ] && exit 0
+
 # Source function library
 . /etc/init.d/functions