From 3a4cb34fd55cafebe471192c835b5a7060722d81 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 24 Oct 2004 10:27:54 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages-devel into stealth.nexus.co.uk:/home/pb/oe/oe-packages 2004/10/24 11:27:38+01:00 nexus.co.uk!pb use Xinit.d not Xsession.d 2004/10/24 11:27:06+01:00 nexus.co.uk!pb fix paste error BKrev: 417b83aaSPcRTU0zgo1xdjK0zXEbYQ --- mythfront/mythfront-config/tftp.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'mythfront/mythfront-config/tftp.sh') diff --git a/mythfront/mythfront-config/tftp.sh b/mythfront/mythfront-config/tftp.sh index e69de29bb2..f6df424a9f 100644 --- a/mythfront/mythfront-config/tftp.sh +++ b/mythfront/mythfront-config/tftp.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +bootdir=`dirname $boot_file` + +files="mysql.txt xorg.conf" + +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 + rm -f $fn + fi + fi +done -- cgit v1.2.3