Revision 5d892fd8
Added by Phil Davis almost 9 years ago
src/etc/inc/services.inc | ||
---|---|---|
935 | 935 |
foreach ($poolconf['numberoptions']['item'] as $itemidx => $item) { |
936 | 936 |
$item_value = base64_decode($item['value']); |
937 | 937 |
if (empty($item['type']) || $item['type'] == "text") { |
938 |
$dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} \"{$item_value}\";\n"; |
|
938 |
$dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} \"{$item_value}\";\n";
|
|
939 | 939 |
} else { |
940 |
$dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} {$item_value};\n"; |
|
940 |
$dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} {$item_value};\n";
|
|
941 | 941 |
} |
942 | 942 |
} |
943 | 943 |
} |
Also available in: Unified diff
Indent dhcpd.conf option custom
(cherry picked from commit c507161d557817c1f6f0adbef9ffdbad82115ee8)