summarylogtreecommitdiffstats
path: root/rc-local.install
diff options
context:
space:
mode:
Diffstat (limited to 'rc-local.install')
-rw-r--r--rc-local.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/rc-local.install b/rc-local.install
index 9908ee17f408..2ed5dec173d9 100644
--- a/rc-local.install
+++ b/rc-local.install
@@ -11,6 +11,10 @@ post_upgrade() {
_update
}
+pre_remove() {
+ systemctl disable rc-local.service
+}
+
post_remove() {
_update
} \ No newline at end of file