summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/resume_loop.xml22
-rw-r--r--plugins/shutdown.xml10
2 files changed, 27 insertions, 5 deletions
diff --git a/plugins/resume_loop.xml b/plugins/resume_loop.xml
new file mode 100644
index 0000000..572ccfa
--- /dev/null
+++ b/plugins/resume_loop.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<plugin
+ author="René 'Necoro' Neumann"
+ name="Emerge Resume Loop">
+ <import>portato.plugins.resume_loop</import>
+
+ <hook
+ hook = "emerge"
+ call = "set_console">
+ <connect/>
+ </hook>
+
+ <hook
+ hook = "after_emerge"
+ call = "resume_loop">
+ <connect type="before">*</connect>
+ </hook>
+
+ <options>
+ <option>disabled</option>
+ </options>
+</plugin>
diff --git a/plugins/shutdown.xml b/plugins/shutdown.xml
index 2897bd8..586b57d 100644
--- a/plugins/shutdown.xml
+++ b/plugins/shutdown.xml
@@ -7,11 +7,11 @@
<hook
hook = "after_emerge"
call = "shutdown">
- <connect type="after">
- <!-- after everything else -->
- *
- </connect>
+ <connect type="after">*</connect>
</hook>
- <disabled />
+ <options>
+ <option>disabled</option>
+ </options>
+
</plugin>