Skip to content

Commit 9235be5

Browse files
committed
Remove extra slash when copying tftp files
1 parent 5572c62 commit 9235be5

File tree

1 file changed

+1
-1
lines changed
  • hardware/raspberrypi/bootmodes/pxetools

1 file changed

+1
-1
lines changed

hardware/raspberrypi/bootmodes/pxetools/pxetools

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def add():
9696
cmd("iptables -t raw -I DHCP_clients -m mac --mac-source {0} -j ACCEPT".format(mac(serial)))
9797
cmd("iptables-save > /etc/iptables/rules.v4")
9898
cmd("mkdir {}".format(tftp_path))
99-
cmd("cp -r /tftpboot/base/* /{}".format(tftp_path))
99+
cmd("cp -r /tftpboot/base/* {}".format(tftp_path))
100100
cmd("mkdir {}".format(nfs_path))
101101
cmd("echo \"{} *(rw,sync,no_subtree_check,no_root_squash)\" >> /etc/exports".format(nfs_path))
102102
cmd("exportfs -a")

0 commit comments

Comments
 (0)