From c3b800bc9c674ed8d47c7773ed910238e221f079 Mon Sep 17 00:00:00 2001 From: Jay Larson Date: Sat, 26 May 2018 15:13:55 -0500 Subject: [PATCH] Added symlink for pidof -> killall5 which seems to work better than props-ng --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ae5e66..7cabb05 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ REPO = core BRIEF = System that manages boot and shutdown DESC = System V style init programs original written by Miquel van Smoorenburg \ that control the booting and shutdown of your system -SNAPVER = 9 +SNAPVER = 10 ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') @@ -56,7 +56,9 @@ $(ROOT): $(SRCDIR)/src/init @cd $(SRCDIR) && make -C src install ROOT=$(ROOT) && \ install -v -d -m 755 $(ROOT)/usr/share/sysvinit && \ - install -v -m 644 $(SNAPDIR)/inittab $(ROOT)/usr/share/sysvinit + install -v -d -m 755 $(ROOT)/bin && \ + install -v -m 644 $(SNAPDIR)/inittab $(ROOT)/usr/share/sysvinit && \ + ln -sv ../sbin/killall5 $(ROOT)/bin/pidof clean: @rm -rvf $(ROOT) \