Files
sysvinit/SNAP/usher
Jay Larson f187836707 The following changes were made:
* Removed creation of /etc/inittab from usher
  * Added default inittab (installed with usher) in /usr/share/sysvinit
2017-05-17 10:40:29 -05:00

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