Line 118:
Line 118:
1- you will need to do<syntaxhighlight lang="bash">
1- you will need to do<syntaxhighlight lang="bash">
mkdir -p /etc/e-smith/templates-custom/ups/ups.conf/
mkdir -p /etc/e-smith/templates-custom/ups/ups.conf/
−
cp /etc/e-smith/templates/ups/ups.conf/UPS /etc/e-smith/templates-custom/ups/ups.conf/UPS2
+
cp /etc/e-smith/templates/etc/ups/ups.conf/UPS /etc/e-smith/templates-custom/etc/ups/ups.conf/UPS2
</syntaxhighlight>then edit content to replace the header to UPS2 and Model and Device to Model2 and Device2
</syntaxhighlight>then edit content to replace the header to UPS2 and Model and Device to Model2 and Device2
Line 124:
Line 124:
2- Then you need to do<syntaxhighlight lang="bash">
2- Then you need to do<syntaxhighlight lang="bash">
mkdir -p /etc/e-smith/templates-custom/ups/upsmon.conf/
mkdir -p /etc/e-smith/templates-custom/ups/upsmon.conf/
−
cp /etc/e-smith/templates/ups/upsmon.conf/MONITOR /etc/e-smith/templates-custom/ups/ups.conf/MONITOR2
+
cp /etc/e-smith/templates/ups/upsmon.conf/MONITOR /etc/e-smith/templates-custom/etc/ups/upsmon.conf/MONITOR2
</syntaxhighlight>Then edit it to change UPS to UPS2. Then you set Device2 and Model2.
</syntaxhighlight>Then edit it to change UPS to UPS2. Then you set Device2 and Model2.