shinit

basic init daemon in POSIX sh
git clone git://git.ckyln.com/~cem/shinit.git
Log | Files | Refs | README | LICENSE

Makefile (355B)


      1 PREFIX = /usr/local
      2 BINDIR = ${PREFIX}/bin
      3 
      4 install:
      5 	mkdir -p ${DESTDIR}${BINDIR}
      6 	cp shinit poweroff ${DESTDIR}${BINDIR}
      7 	chmod 755 ${DESTDIR}${BINDIR}/shinit
      8 	chmod 755 ${DESTDIR}${BINDIR}/poweroff
      9 	ln -sf poweroff ${DESTDIR}${BINDIR}/reboot
     10 
     11 uninstall:
     12 	rm -f ${DESTDIR}${BINDIR}/shinit \
     13 		${DESTDIR}${BINDIR}/poweroff \
     14 		${DESTDIR}${BINDIR}/reboot