murasaki.precall
Last modified:
Mon Sep 29 22:19:57 PDT 2003
Agent program refers to this to find scripts.
Scripts are executed before modules are loaded/unloaded.
This has 2 kinds of format such as below.
-
the script depending on module
-
the script depending on device
The script file is called with "start" as the first argument after
loading modules. On the other hand, It is called with "stop" after
unloading modules.
[Format]
[Format for a module]
-
Write the module name + colon(:)
-
Write the script name by space to separate.
The plural modules are able to be specified.
module-1: script-1 script-2
[Format for a device]
It is a same format except difference between "[device name]" and
"module name".
-
Write '[' + device name + ']' + colon(:)
-
Write the script name by space to separate.
The plural modules are able to be specified.
[device-A]: script-1 script-2 script-3
[Relationship]
-
Reffer to "example" of a script in
murasaki.call.
-
The scripts should be put on /etc/murasaki/bin
(/etc/murasaki for 0.5 and older) to
guard against mismatching file name.
Shuu Yamaguchi :
shuu@dotAster.com