From 3ed56460cdfe750fc84fdd4dbf6a95ae6c879772 Mon Sep 17 00:00:00 2001 From: Peng Zhihui Date: Thu, 15 May 2014 16:55:58 +0800 Subject: [PATCH] move /tftpboot to /net_inst_server/ move /net_inst_server dir to /usr/lib/ modified: main/begin-install --- main/begin-install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/begin-install b/main/begin-install index a9c6d1c..7ccc8be 100755 --- a/main/begin-install +++ b/main/begin-install @@ -1,7 +1,8 @@ #! /bin/sh work_as_net_inst_server(){ - cp -a /net_inst_server/{exports,dhcpd.conf} /etc/ + cp -a /usr/lib/net_inst_server/{exports,dhcpd.conf} /etc/ + cp -a /usr/lib/net_inst_server/tftpd-hpa /etc/default/ ifconfig eth0 145.16.3.254 /etc/init.d/portmap start /etc/init.d/nfsserver start