summaryrefslogtreecommitdiff
path: root/pkgtools/rc.d-boot/INSTALL
blob: 82c828db3f50e17e81637c5fd672a6a00b20421f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: INSTALL,v 1.4 2018/12/16 05:41:01 schmonz Exp $

RCDBOOT_STYLE=@RCDBOOT_STYLE@

case "${STAGE}" in

POST-INSTALL)
	case "${RCDBOOT_STYLE}" in
	darwin-launchd)
		launchctl load -w /Library/LaunchDaemons/org.pkgsrc.rc.d-boot.plist
		;;
	freebsd-native)
		;;
	linux-systemd)
		systemctl enable --now /etc/systemd/system/pkgsrc-rc.d-boot.service
		;;
	netbsd-native)
		;;
	esac

	;;

esac