2 Commits

Author SHA1 Message Date
Jay Larson
f0c072202c Corrected bug in usher where /etc/rc* directories were not properly created 2017-10-17 15:19:06 -05:00
Jay Larson
7ec9cd6634 Corrected issue preventing installation of etc/inittab 2017-06-02 12:06:30 -05:00
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ URL = https://savannah.nongnu.org/projects/sysvinit
BRIEF = System that manages boot and shutdown BRIEF = System that manages boot and shutdown
DESC = System V style init programs original written by Miquel van Smoorenburg \ DESC = System V style init programs original written by Miquel van Smoorenburg \
that control the booting and shutdown of your system that control the booting and shutdown of your system
SNAPVER = 6 SNAPVER = 8
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1) ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n') TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')

View File

@@ -8,10 +8,10 @@ case $1 in
;; ;;
postinst) postinst)
install -d -m 755 ${TARGET}/etc/init.d install -d -m 755 ${TARGET}/etc/init.d
install -d -m 755 ${TARGET}/etc/rc{[0-6],S}.d install -d -m 755 ${TARGET}/etc/rc{{0..6},S}.d
if [ ! -f ${TARGET}/etc/inittab ]; then if [ ! -f ${TARGET}/etc/inittab ]; then
install -m 644 /usr/share/sysvinit/inittab /etc/inittab install -m 644 ${TARGET}/usr/share/sysvinit/inittab ${TARGET}/etc/inittab
fi fi
;; ;;
prerm) prerm)