134 |
|
|
135 |
if [ "$type" = ISO ];then |
if [ "$type" = ISO ];then |
136 |
type=ISO |
type=ISO |
137 |
finalCFG=/tmp/ocs_isosys*/isolinux/isolinux.cfg |
# finalCFG=/tmp/ocs_isosys*/isolinux/isolinux.cfg |
138 |
finalCFG=`find /tmp -name isolinux.cfg` |
finalCFG=`find /tmp -name isolinux.cfg` |
139 |
else |
else |
140 |
type=ZIP |
type=ZIP |
141 |
finalCFG=/home/partimag/ocs_isosys*/isolinux/isolinux.cfg |
# finalCFG=/home/partimag/ocs_isosys*/isolinux/isolinux.cfg |
142 |
finalCFG=`find /home/partimag -name isolinux.cfg` |
finalCFG=`find /home/partimag -name isolinux.cfg` |
143 |
fi |
fi |
144 |
|
|
152 |
|
|
153 |
# Check if -s has been used (only iso) |
# Check if -s has been used (only iso) |
154 |
if [ -n "$ORIGINAL_INSERT_MODE" ];then |
if [ -n "$ORIGINAL_INSERT_MODE" ];then |
155 |
findCFGfile |
# When -s is used, do nothing |
156 |
import_parameters_to_cfg $templateCFG $finalCFG |
# findCFGfile |
157 |
copy_PNG_SYSLINUX |
# import_parameters_to_cfg $templateCFG $finalCFG |
158 |
|
# copy_PNG_SYSLINUX |
159 |
exit |
exit |
160 |
fi |
fi |
161 |
|
|