aboutsummarylogtreecommitdiffstats
path: root/photonvision-bin.install
blob: c3bbfa0a6693c62567028457fddf221c56d4b249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## arg 1:  the new package version
post_install() {
	echo "Warning: Photonvision will change the machine hostname to 'photonvision' on first run."
	echo "This can be changed on the Settings page on the web ui at http://localhost:5800"
	echo "If the linux-lts kernel dep was installed, a reboot is required to run with kernel 6.1."
	echo "To enable the photonvision service: systemctl enable --now photonvision"
}

## arg 1:  the new package version
## arg 2:  the old package version
post_upgrade() {
	echo "Restart the service to change to $1: systemctl restart photonvision"
}