* Removed creation of /etc/inittab from usher * Added default inittab (installed with usher) in /usr/share/sysvinit
24 lines
347 B
Bash
Executable File
24 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
case $1 in
|
|
preinst)
|
|
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
|
|
install -m 644 /usr/share/sysvinit/inittab /etc/inittab
|
|
fi
|
|
;;
|
|
prerm)
|
|
exit 0
|
|
;;
|
|
postrm)
|
|
exit 0
|
|
;;
|
|
esac
|