/usr/share/netcf/xml/util-get.xsl is in libnetcf1 1:0.2.8-1+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template name="bonding-opts">
<xsl:if test="bond/@mode">mode=<xsl:value-of select='bond/@mode'/></xsl:if>
<xsl:if test="bond/@mode = 'active-backup'"> primary=<xsl:value-of select='bond/interface[1]/@name'/></xsl:if>
<xsl:if test="bond/miimon">
<xsl:text> miimon=</xsl:text><xsl:value-of select='bond/miimon/@freq'/>
<xsl:if test="bond/miimon/@downdelay"><xsl:text> downdelay=</xsl:text><xsl:value-of select="bond/miimon/@downdelay"/></xsl:if>
<xsl:if test="bond/miimon/@updelay"><xsl:text> updelay=</xsl:text><xsl:value-of select="bond/miimon/@updelay"/></xsl:if>
<xsl:if test="bond/miimon/@carrier">
<xsl:text> use_carrier=</xsl:text>
<xsl:if test="bond/miimon/@carrier = 'ioctl'">0</xsl:if>
<xsl:if test="bond/miimon/@carrier = 'netif'">1</xsl:if>
</xsl:if>
</xsl:if>
<xsl:if test="bond/arpmon">
<xsl:text> arp_interval=</xsl:text><xsl:value-of select="bond/arpmon/@interval"/>
<xsl:text> arp_ip_target=</xsl:text><xsl:value-of select="bond/arpmon/@target"/>
<xsl:if test="bond/arpmon/@validate"><xsl:text> arp_validate=</xsl:text><xsl:value-of select="bond/arpmon/@validate"/></xsl:if>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
|