summarylogtreecommitdiffstats
path: root/devolo-dlan-cockpit.install
diff options
context:
space:
mode:
Diffstat (limited to 'devolo-dlan-cockpit.install')
-rwxr-xr-xdevolo-dlan-cockpit.install34
1 files changed, 34 insertions, 0 deletions
diff --git a/devolo-dlan-cockpit.install b/devolo-dlan-cockpit.install
new file mode 100755
index 000000000000..a9b93b5b0abf
--- /dev/null
+++ b/devolo-dlan-cockpit.install
@@ -0,0 +1,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
+}