summaryrefslogtreecommitdiffstats
path: root/tools/draklive
diff options
context:
space:
mode:
Diffstat (limited to 'tools/draklive')
-rwxr-xr-xtools/draklive5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/draklive b/tools/draklive
index befe4069c..97cbd343a 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -723,8 +723,9 @@ sub record_usb_master {
unless $opts->{boot_only};
run_('umount', $live->{mnt});
maybe_umount_device($device);
- #- use syslinux -s, "safe, slow and stupid" version of SYSLINUX
- run_('syslinux', '-s', $device) or die "unable to run syslinux on $device";
+ #- use syslinux -s, "safe, slow and stupid" version of SYSLINUX, unless specified otherwise
+ run_('syslinux', if_(!$media->{fast_syslinux}, '-s'), $device)
+ or die "unable to run syslinux on $device";
}
#- $opts: