Added /etc/init.d and /etc/rc{[0-6],S}.d in usher

This commit is contained in:
2016-10-24 15:37:44 -05:00
parent 223dfcdde9
commit 9e2becb2a6
2 changed files with 4 additions and 1 deletions

View File

@@ -25,6 +25,9 @@ case $1 in
exit 0
;;
postinst)
install -d -m 755 ${TARGET}/etc/init.d
install -d -m 755 ${TARGET}/etc/rc{[0-6],S}.d
if [ ! -f ${TARGET}/etc/inittab ]; then
echo "${INITTAB}" > ${TARGET}/etc/inittab
fi