diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2011-10-10 11:22:00 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-12-07 21:31:22 +0100 |
commit | 72a6bd4b5d2734f2c4f2f37589db3ba82829d770 (patch) | |
tree | da237a1dfe890044af9df2124eaeca74de30968b /package/x11r7/xapp_xdm/xapp_xdm.mk | |
parent | bdb40d8bac210a8457140f2521a045d425ca8e29 (diff) |
xdm: install startup script
install S99xdm to /etc/init.d to start XDM automatically
[Peter: Small cleanups]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/x11r7/xapp_xdm/xapp_xdm.mk')
-rw-r--r-- | package/x11r7/xapp_xdm/xapp_xdm.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/x11r7/xapp_xdm/xapp_xdm.mk b/package/x11r7/xapp_xdm/xapp_xdm.mk index ce3850331..7268d5d38 100644 --- a/package/x11r7/xapp_xdm/xapp_xdm.mk +++ b/package/x11r7/xapp_xdm/xapp_xdm.mk @@ -12,4 +12,11 @@ XAPP_XDM_DEPENDENCIES = xapp_xinit xapp_sessreg xapp_xrdb xlib_libX11 xlib_libXa XAPP_XDM_CONF_OPT = --with-utmp-file=/var/adm/utmpx \ --with-wtmp-file=/var/adm/wtmpx +define XAPP_XDM_INSTALL_STARTUP_SCRIPT + $(INSTALL) -m 0755 -D package/x11r7/xapp_xdm/S99xdm \ + $(TARGET_DIR)/etc/init.d/S99xdm +endef + +XAPP_XDM_POST_INSTALL_TARGET_HOOKS += XAPP_XDM_INSTALL_STARTUP_SCRIPT + $(eval $(call AUTOTARGETS)) |