This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
aiccu/aiccu-setupscript.patch
Pavel Šimerda 37a443f9dc rebuilt
2016-06-22 14:59:24 +02:00

16 lines
490 B
Diff

diff --git a/unix-console/main.c b/unix-console/main.c
index 388d988..375b61c 100755
--- a/unix-console/main.c
+++ b/unix-console/main.c
@@ -471,6 +471,11 @@ int main(int argc, char *argv[])
*/
if (aiccu_setup(hTunnel, true))
{
+ if (g_aiccu->setupscript)
+ {
+ aiccu_exec("%s", g_aiccu->setupscript);
+ }
+
/* We need to stay running when doing Heartbeat or AYIYA */
if ( strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0 ||
strcasecmp(hTunnel->sType, "ayiya") == 0)