aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/carp.xml2
-rw-r--r--packages/carp_settings.xml3
-rw-r--r--packages/carp_status.php2
3 files changed, 4 insertions, 3 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index 919a7996..85f28bc2 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -22,7 +22,7 @@
</tab>
<tab>
<text>CARP Settings</text>
- <xml>carp_settings.xml</xml>
+ <url>pkg_edit.php?xml=pure-carp_settings.xml&amp;id=0</url>
</tab>
</tabs>
<additional_files_needed>
diff --git a/packages/carp_settings.xml b/packages/carp_settings.xml
index 00ee1faa..a9e9ca32 100644
--- a/packages/carp_settings.xml
+++ b/packages/carp_settings.xml
@@ -6,6 +6,7 @@
<!-- configpath gets expanded out automatically and config items will be
stored in that location -->
<configpath>['installedpackages']['carpsettings']['config']</configpath>
+ <aftersaveredirect>pkg_edit.php?xml=pure-carp_settings.xml&amp;id=0</aftersaveredirect>
<!-- Menu is where this packages menu will appear -->
<menu>
<name>CARP (failover)</name>
@@ -24,7 +25,7 @@
</tab>
<tab>
<text>CARP Settings</text>
- <xml>carp_settings.xml</xml>
+ <url>pkg_edit.php?xml=pure-carp_settings.xml&amp;id=0</url>
<active/>
</tab>
</tabs>
diff --git a/packages/carp_status.php b/packages/carp_status.php
index 6bfdf52f..49cb8682 100644
--- a/packages/carp_status.php
+++ b/packages/carp_status.php
@@ -58,7 +58,7 @@ include("fbegin.inc");
<ul id="tabnav">
<li class="tabinact"><a href="/pkg.php?xml=carp.xml">CARP Virtual IPs</a></li>
<li class="tabact">CARP Status</li>
- <li class="tabinact"><a href="/pkg.php?xml=carp_settings.xml">CARP Settings</a></li>
+ <li class="tabinact"><a href="/pkg_edit.php?xml=carp_settings.xml&id=0">CARP Settings</a></li>
</ul>
</td></tr>
<tr><td class="tabcont">