run with same options as in S40xorg
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
--- /dev/null
+[Unit]
+Description=Xorg server
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/Xorg :0.0 vt01 -s 0 -noreset -allowMouseOpenFail
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
XSERVER_XORG_SERVER_DEPENDENCIES += libsha1
endif
+define XSERVER_XORG_SERVER_INSTALL_INIT_SYSTEMD
+ $(INSTALL) -D -m 0644 package/x11r7/xserver_xorg-server/xorg.service \
+ $(TARGET_DIR)/usr/lib/systemd/system/xorg.service
+endef
+
define XSERVER_XORG_SERVER_INSTALL_INIT_SYSV
$(INSTALL) -D -m 755 package/x11r7/xserver_xorg-server/S40xorg \
$(TARGET_DIR)/etc/init.d/S40xorg