From 95ed3294c632f5606327149f10cef1eb34422862 Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Fri, 23 May 2014 00:37:39 +0200 Subject: Move handling of sysv initscripts to a generator Reuses logic from service.c and the rc-local generator. Note that this drops reading of chkconfig entirely. It also drops reading runlevels from the LSB headers. The runlevels were only used to check for runlevels outside of the normal 1-5 range and then add special dependencies and settings. Special runlevels were dropped in the past so it seemed to be unused code. The generator does not know about non-generated units with a value set with SysVStartPriority=. These are therefor not taken into account when converting start priority to before/after. --- src/sysv-generator/Makefile | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/sysv-generator/Makefile (limited to 'src/sysv-generator/Makefile') diff --git a/src/sysv-generator/Makefile b/src/sysv-generator/Makefile new file mode 100644 index 0000000000..530e5e919a --- /dev/null +++ b/src/sysv-generator/Makefile @@ -0,0 +1 @@ +../Makefile -- cgit v1.2.3-54-g00ecf