diff options
Diffstat (limited to 'drakpxelinux.pl')
-rw-r--r-- | drakpxelinux.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl index 3f0fa50..b56eaab 100644 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -184,6 +184,7 @@ my $pxelinux_conf;# = network::pxe::read_pxelinux_conf($config_file, $help_file) sub link_default_path() { # need to quick fix pb of duplicate default (network::pxe need various adjustement). if (!-f "$network::pxe::pxelinux_client_root/pxelinux.cfg/profiles/boot/default") { + mkdir_p("$network::pxe::pxelinux_client_root/pxelinux.cfg/profiles/boot/"); system("ln -sf $network::pxe::pxelinux_config_file $network::pxe::pxelinux_client_root/pxelinux.cfg/profiles/boot/default"); } } |