mirror of
https://github.com/gryf/wicd.git
synced 2026-04-24 15:11:27 +02:00
Provide a pre-/post-down script mechanism
WICD currently only provides pre-/post-connection scripts, and only one disconnection script, that is run before actually disconnecting. This provides pre-/post-disconnection scripts, thus increasing configuration flexibility.
This commit is contained in:
@@ -99,8 +99,11 @@ This defines a script to run after Wicd brings up the connection.
|
||||
IMPORTANT - scripts should ONLY be writable by root and located
|
||||
in a directory that is writable by only root.
|
||||
.TP
|
||||
.BI "disconnectscript = " <None|arbitrary_script>
|
||||
This defines a script to run when Wicd disconnects the interface.
|
||||
.BI "predisconnectscript = " <None|arbitrary_script>
|
||||
This defines a script to run before Wicd disconnects the interface.
|
||||
.TP
|
||||
.BI "postdisconnectscript = " <None|arbitrary_script>
|
||||
This defines a script to run after Wicd disconnects the interface.
|
||||
.br
|
||||
IMPORTANT - scripts should ONLY be writable by root and located
|
||||
in a directory that is writable by only root.
|
||||
|
||||
Reference in New Issue
Block a user