aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-09 14:17:01 +0300
committerCem Keylan <cem@ckyln.com>2020-01-09 14:17:01 +0300
commitf5c1fab3d9715d14074efffc2413acce8a906602 (patch)
tree7ba7ceb106c857c56310a127600b7bdc8b970346 /Makefile
parent2ee7f7f990d871e24bc5a890452381934da46928 (diff)
downloadinit-f5c1fab3d9715d14074efffc2413acce8a906602.tar.gz
change configuration location to /etc/init0.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 2cb7fec..358118f 100644
--- a/Makefile
+++ b/Makefile
@@ -7,15 +7,13 @@ install:
mkdir -p ${DESTDIR}/etc
sed 's#INITDIR#${INITDIR}#g' < inittab > ${DESTDIR}/etc/inittab
chmod 644 ${DESTDIR}/etc/inittab
- install -Dm644 rc.conf ${DESTDIR}${INITDIR}/rc.conf
- sed 's#PREFIX#${PREFIX}#g' < rc.boot > ${DESTDIR}${INITDIR}/rc.boot
- sed 's#PREFIX#${PREFIX}#g' < rc.shutdown > ${DESTDIR}${INITDIR}/rc.shutdown
- chmod 755 ${DESTDIR}${INITDIR}/rc.boot
- chmod 755 ${DESTDIR}${INITDIR}/rc.shutdown
+ install -Dm644 rc.conf ${DESTDIR}/etc/init/rc.conf
+ install -Dm755 rc.boot ${DESTDIR}${INITDIR}/rc.boot
+ install -Dm755 rc.shutdown ${DESTDIR}${INITDIR}/rc.shutdown
uninstall:
rm -f ${DESTDIR}/etc/inittab
- rm -f ${DESTDIR}${INITDIR}/rc.conf
+ rm -f ${DESTDIR}/etc/init/rc.conf
rm -f ${DESTDIR}${INITDIR}/rc.boot
rm -f ${DESTDIR}${INITDIR}/rc.shutdown