From ed7fb98ad26cba8e68fabb199da59377c2e7dfe9 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 19 Mar 2008 21:18:25 +0000 Subject: [PATCH] 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 --- xCATsn/xCATsn.spec | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xCATsn/xCATsn.spec b/xCATsn/xCATsn.spec index b5d19abeb..55401b510 100644 --- a/xCATsn/xCATsn.spec +++ b/xCATsn/xCATsn.spec @@ -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