Remove export of /install and /tftpboot

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-03-19 21:18:25 +00:00
parent 796d18a705
commit ed7fb98ad2

View File

@ -47,12 +47,6 @@ cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT
if [ "$1" = "1" ]; then #Only if installing for the first time..
mkdir -p /var/log/consoles
if ! grep /tftpboot /etc/exports; then
echo '/tftpboot *(ro,root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys
fi
if ! grep /install /etc/exports; then
echo '/install *(rw,no_root_squash,sync)' >> /etc/exports #SECURITY: this has potential for sharing private host/user keys
fi
chkconfig nfs on
/etc/rc.d/init.d/nfs stop
/etc/rc.d/init.d/nfs start