From 5d91d38c8c9b81db56dcd94cf5c470b0dce68da0 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Thu, 14 Jun 2012 16:54:50 +0200 Subject: service: add support for legacy custom actions This adds support for legacy initscript actions such as service iptables save Packages wishing to provide legacy actions should install programs (probably scripts, but could be binaries) named /usr/libexec/initscripts/legacy-actions// It should be emphasized that this feature is meant to be used only in packages where compatibility of custom actions with previous releases is desired. Adding of entirely new actions is discouraged. Useful tools should be shipped by upstreams as programs in /usr/bin, not in distro-specific hacks. [ Modifications from original : change from /usr/lib to /usr/libexec - notting ] https://bugzilla.redhat.com/show_bug.cgi?id=796663 --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 688c510b..87aad620 100644 --- a/Makefile +++ b/Makefile @@ -144,6 +144,7 @@ install: ln -s rc.d/$$i $(ROOT)/etc/$$i; \ done + mkdir -p -m 755 $(ROOT)/usr/libexec/initscripts/legacy-actions syntax-check: -- cgit v1.2.1