The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / x11r7 / xapp_xdm / S99xdm
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/x11r7/xapp_xdm/S99xdm b/cirros-testvm/src-cirros/buildroot-2015.05/package/x11r7/xapp_xdm/S99xdm
new file mode 100644 (file)
index 0000000..4dd1cd8
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+XDM_BIN=/usr/bin/xdm
+
+case "$1" in
+    start)
+        echo -n "Starting XDM: "
+        $XDM_BIN
+        echo "done"
+        ;;
+    stop)
+       echo "Stopping XDM"
+        killall -q xdm
+        ;;
+    restart)
+       $0 stop
+       $0 start
+        ;;
+    *)
+        echo "Usage: $0 {start|stop|restart}"
+        exit 1
+        ;;
+esac
+
+exit 0