1 |
joko |
1.1 |
<?xml version="1.0"?> |
2 |
|
|
|
3 |
|
|
<!-- |
4 |
|
|
$Id$ |
5 |
|
|
$Revision$ |
6 |
|
|
$Log$ |
7 |
|
|
--> |
8 |
|
|
|
9 |
|
|
<!-- |
10 |
|
|
This could be associated with a TopicMap written in XTM lingo sometimes... |
11 |
|
|
Investigate what would be required to |
12 |
|
|
a) map rap-topics to XTM-topics inside a linked xml-file and/or |
13 |
|
|
b) embed XTM lingo inside a rapfile (e.g.: /etc/rap.xml in this case) |
14 |
|
|
--> |
15 |
|
|
|
16 |
|
|
|
17 |
|
|
<!-- some targets to (e.g.) shut down and/or reboot your system --> |
18 |
|
|
<topic name="core.os.win32" /> |
19 |
|
|
|
20 |
|
|
<target name="shutdown"> |
21 |
|
|
<description> |
22 |
|
|
Shuts down host. |
23 |
|
|
</description> |
24 |
|
|
<echo message="Shutting down host, please be patient." level="notice" /> |
25 |
|
|
|
26 |
|
|
<script language="msdos/bat"> |
27 |
|
|
|
28 |
|
|
</script> |
29 |
|
|
|
30 |
|
|
</target> |
31 |
|
|
|
32 |
|
|
</topic> |
33 |
|
|
|
34 |
|
|
<topic name="core.os.linux" /> |
35 |
|
|
|
36 |
|
|
<target name="shutdown"> |
37 |
|
|
<description>Shuts down host.</description> |
38 |
|
|
<echo message="Shutting down host, please be patient." level="notice" /> |
39 |
|
|
<script language="bash">shutdown</script> |
40 |
|
|
</target> |
41 |
|
|
|
42 |
|
|
<target name="reboot"> |
43 |
|
|
<description>Reboots host.</description> |
44 |
|
|
<echo message="Rebooting host, please be patient." level="notice" /> |
45 |
|
|
<script language="bash">reboot</script> |
46 |
|
|
</target> |
47 |
|
|
|
48 |
|
|
<target name="resume"> |
49 |
|
|
<description>Resumes host.</description> |
50 |
|
|
<echo message="[FIXME] Resuming host, have a nice day." level="notice" /> |
51 |
|
|
<script language="bash">echo FIXME!</script> |
52 |
|
|
</target> |
53 |
|
|
|
54 |
|
|
<target name="enlightenment.reset"> |
55 |
|
|
<description>Resets enlightenment.</description> |
56 |
|
|
<echo message="Resetting enlightenment, please be patient." level="notice" /> |
57 |
|
|
<script language="bash"> |
58 |
|
|
echo FIXME! |
59 |
|
|
</script> |
60 |
|
|
</target> |
61 |
|
|
|
62 |
|
|
<target name="sound.restart"> |
63 |
|
|
<description>Makes sound work again. (sometimes breaks after resume)</description> |
64 |
|
|
<echo message="Restarting xmms and alsa, please be patient." level="notice" /> |
65 |
|
|
<script language="bash"> |
66 |
|
|
killall xmms |
67 |
|
|
/etc/init.d/alsa restart |
68 |
|
|
xmms & |
69 |
|
|
</script> |
70 |
|
|
</target> |
71 |
|
|
|
72 |
|
|
</topic> |
73 |
|
|
|
74 |
|
|
<!-- some targets to start up rap in other modes (e.g. cli, gui or web) --> |
75 |
|
|
<topic name="core.rap.mode" /> |
76 |
|
|
</topic> |
77 |
|
|
|
78 |
|
|
<!-- some targets to control a locally running rap-daemon 'rapd' (e.g. start, stop, restart, reload) --> |
79 |
|
|
<topic name="core.rap.daemon" /> |
80 |
|
|
</topic> |
81 |
|
|
|
82 |
|
|
<!-- some targets to use configuration-modifier-modules from webmin --> |
83 |
|
|
<topic name="admin.config.webmin" /> |
84 |
|
|
|
85 |
|
|
<target name="Apache"> |
86 |
|
|
<description> |
87 |
|
|
Tries to mungle your httpd.conf. |
88 |
|
|
</description> |
89 |
|
|
</target> |
90 |
|
|
|
91 |
|
|
<target name="Sendmail"> |
92 |
|
|
<description> |
93 |
|
|
Tries to mungle your sendmail.mc, virtusertable and aliases. |
94 |
|
|
</description> |
95 |
|
|
</target> |
96 |
|
|
|
97 |
|
|
</topic> |
98 |
|
|
|
99 |
|
|
<!-- some targets to use configuration-modifier-modules from nfo --> |
100 |
|
|
<topic name="admin.config.nfo.ConfigPatcher" /> |
101 |
|
|
<!-- use/import code from nfo/perl/libs/shortcuts/files.pm (ris, rif) --> |
102 |
|
|
<plugin name="shortcuts::files" /> |
103 |
|
|
<!-- |
104 |
|
|
refactor more code from nfo/perl/scripts/umltools: |
105 |
|
|
- ConfigPatcher |
106 |
|
|
- StructureAlterer |
107 |
|
|
--> |
108 |
|
|
</topic> |
109 |
|
|
|
110 |
|
|
</topic> |