Files
sysvinit/SNAP/usher
Jay Larson 69a8473bec The following changes were made:
* Added REPO to Makefile
  * usher now uses /bin/sh
  * Removed TARGET from usher
2018-03-29 13:04:07 -05:00

24 lines
319 B
Bash
Executable File

#!/bin/sh
set -e
case $1 in
preinst)
exit 0
;;
postinst)
install -d -m 755 /etc/init.d
install -d -m 755 /etc/rc{{0..6},S}.d
if [ ! -f /etc/inittab ]; then
install -m 644 /usr/share/sysvinit/inittab /etc/inittab
fi
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac