]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
rc-local-generator: drop duplicate definitions for rc.local
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 12 Apr 2017 23:30:58 +0000 (19:30 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 19 Apr 2017 23:27:01 +0000 (19:27 -0400)
We always define those paths in the configure scripts.

src/rc-local-generator/rc-local-generator.c

index b704ca3b4b6bfd0e5841a75d0d581aec82d8e9cd..db3bf5bd21e5ab18f503bbdc6c92024ce084c21b 100644 (file)
 #include "string-util.h"
 #include "util.h"
 
-#ifndef RC_LOCAL_SCRIPT_PATH_START
-#define RC_LOCAL_SCRIPT_PATH_START "/etc/rc.d/rc.local"
-#endif
-
-#ifndef RC_LOCAL_SCRIPT_PATH_STOP
-#define RC_LOCAL_SCRIPT_PATH_STOP "/sbin/halt.local"
-#endif
-
 static const char *arg_dest = "/tmp";
 
 static int add_symlink(const char *service, const char *where) {