--- a/etc/init.d/vmcontext
+++ b/etc/init.d/vmcontext
@@ -23,13 +23,15 @@
 # Provides:          vmcontext
 # Required-Start:    $all
 # Required-Stop:
-# Should-Start:      networking
-# Should-Stop:       networking
+# Should-Start:      $network
+# Should-Stop:       $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: OpenNebula contextualization script
 ### END INIT INFO
 
+. /lib/lsb/init-functions
+
 function export_rc_vars
 {
     if [ -f $1 ] ; then
