diff options
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-x | abs/core-testing/LinHES-config/systemconfig.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh index 695be64..7a6f0fe 100755 --- a/abs/core-testing/LinHES-config/systemconfig.sh +++ b/abs/core-testing/LinHES-config/systemconfig.sh @@ -243,11 +243,13 @@ function setupevrouter { function scrubnfs { cp_and_log /etc/fstab $TEMPLATES/fstab.conf.template - grep -v nfs $TEMPLATES/fstab.conf.template > ${BASE}/etc/fstab + + sed '/^#STARTSCRUB.*$/,/^#ENDSCRUB.*$/d' $TEMPLATES/fstab.conf.template > ${BASE}/etc/fstab } function setupfstab () { # setupfstab $NFSserver $NFSshare $NFSmount + echo "#STARTSCRUB --------------anything in this block will be scrubbed" >> ${BASE}/etc/fstab echo "$1 $2 nfs" >> ${BASE}/etc/fstab if [ ! -e "$2" ] then @@ -258,7 +260,7 @@ function setupfstab () { then mount $2 & fi - + echo "#ENDSCRUB" >> ${BASE}/etc/fstab } function setupncidclient |