Skip to content
Snippets Groups Projects
Commit 08950ccd authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

tftp script: "#!/bin/sh" is now mandatory


Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent 6daa034f
Branches
Tags
No related merge requests found
#!/bin/sh
bootargs="quiet console=ttyS0,115200 panic=10 mem=64m"
bootargs="$bootargs root=nfs ip=dhcp"
......
#!/bin/sh
bootargs="quiet console=ttyS0,115200 panic=10 mem=64m"
bootargs="$bootargs root=nfs ip=192.168.16.9:192.168.16.1:255.255.255.0"
......
......@@ -918,6 +918,10 @@ this is the default place where the NFS-Root filesystem is mounted
from, as shown in the log excerpt above. So you'll have your
@file{wrboot} in the same place
@b{Note:} recent @i{barebox} versions require scripts to include a
leading @t{#!/bin/sh}. Examples in @i{wr-switch-sw} did not include the
line until April 2014 included.
The @file{binaries} subdirectory of this package includes two known-working
wrboot scripts as examples; one if for use with static IP addresses and
the other relies on DHCP. If you want to override the default NFS-Root
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment