summarylogtreecommitdiffstats
path: root/devolo-dlan-cockpit.install
blob: a9b93b5b0abf518bf0f66ee74c1582d25b0042e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
post_install() {
cat <<EOT

==================================================================================

1. To run devolo DLAN Cockpit, you need to start devolonetsvc.service 
   $ sudo systemctl start devolonetsvc.service


2. (OPTIONAL) start devolonetsvc.service at boot
   $ sudo systemctl enable devolonetsvc.service

==================================================================================

EOT
}

pre_upgrade() {
	systemctl stop devolonetsvc.service
}

post_upgrade() {
 systemctl daemon-reload
 post_install
}


pre_remove() {
	systemctl stop devolonetsvc.service
}

post_remove() {
	systemctl daemon-reload
}