summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authornecoro <>2007-07-09 04:51:41 +0000
committernecoro <>2007-07-09 04:51:41 +0000
commitbaf4d66fea871cd6c285c51fcbb995efe5dd6800 (patch)
tree6bb632c8612f4dde50bceb798593b96e9c234cb1 /plugins
parent6d9340ebbb5b942b0996053b0479827c1cf81b5a (diff)
downloadportato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.tar.gz
portato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.tar.bz2
portato-baf4d66fea871cd6c285c51fcbb995efe5dd6800.zip
added resume_loop plugin
Diffstat (limited to '')
-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>