diff options
author | Phil Blundell <philb@gnu.org> | 2007-01-28 16:40:56 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2007-01-28 16:40:56 +0000 |
commit | c3189e96dadbfcbf162cc3b23ea4c1d53ab2f8d4 (patch) | |
tree | af59376dc0fc956e66196412f2e4f4f082d33888 /packages/mythfront/mythfront-config/tftp.sh | |
parent | 447a154399256e3dfc2ae366876098e4a5bd591d (diff) |
mythfront-config: use siaddr, not serveraddr
Diffstat (limited to 'packages/mythfront/mythfront-config/tftp.sh')
-rwxr-xr-x | packages/mythfront/mythfront-config/tftp.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/mythfront/mythfront-config/tftp.sh b/packages/mythfront/mythfront-config/tftp.sh index 51ccb79161..8ac4bf8020 100755 --- a/packages/mythfront/mythfront-config/tftp.sh +++ b/packages/mythfront/mythfront-config/tftp.sh @@ -16,8 +16,8 @@ mkdir /var/lib/config cd /var/lib/config for fn in $files; do - if ! tftp -g $serverid -r $bootdir/mythfront/$ip/$fn -l $fn; then - if ! tftp -g $serverid -r $bootdir/mythfront/default/$fn -l $fn; then + if ! tftp -g $siaddr -r $bootdir/mythfront/$ip/$fn -l $fn; then + if ! tftp -g $siaddr -r $bootdir/mythfront/default/$fn -l $fn; then rm -f $fn fi fi |