summarylogtreecommitdiffstats
path: root/devolo-dlan-cockpit.install
blob: 3d0e051b555e1e8806661c905d9dbd5d2caf8afd (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
 systemctl start devolonetsvc.service
}


pre_remove() {
	systemctl stop devolonetsvc.service
}

post_remove() {
	systemctl daemon-reload
}