+ // pick default bootcd flavors. need more flexibility
+ // TODO: find a way to handle 32/64 bit.
+ if ( defined("PLC_FLAVOUR_NODE_PLDISTRO") )
+ {
+ // This approach only works for 5.0
+ $BOOTCD = "/usr/share/bootcd-" . PLC_FLAVOUR_NODE_PLDISTRO . "-" . PLC_FLAVOUR_NODE_FCDISTRO . "-" . PLC_FLAVOUR_NODE_ARCH;
+ } else {
+ $BOOTCD = exec ("ls -d /usr/share/bootcd*");
+ }
+