--- rc.vboxadd-service	2010-02-17 16:56:25.000000000 -0800
+++ rc.vboxadd-service.moblin	2010-02-17 17:53:07.000000000 -0800
@@ -39,6 +39,9 @@
 elif [ -f /etc/SuSE-release ]; then
     system=suse
     PIDFILE="/var/lock/subsys/vboxadd-service"
+elif [ -f /etc/moblin-release ]; then
+    system=moblin
+    PIDFILE="/var/lock/subsys/vboxadd-service"
 elif [ -f /etc/debian_version ]; then
     system=debian
     PIDFILE="/var/run/vboxadd-service"
@@ -61,7 +64,7 @@
     fi
 fi
 
-if [ "$system" = "redhat" ]; then
+if [ "$system" = "redhat" -o "$system" = "moblin" ]; then
     . /etc/init.d/functions
     fail_msg() {
         echo_failure
