summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-12-23 11:14:48 +0100
committerSebastian Schmelzer2011-12-23 11:14:48 +0100
commit6757e5add4f396d73d743834de661d4c7a6f97fe (patch)
treed804c2aa9d6776954aea7c04577c5418fcc5cbb8 /src
parentadd stub for fedora16 support (diff)
downloadcore-6757e5add4f396d73d743834de661d4c7a6f97fe.tar.gz
core-6757e5add4f396d73d743834de661d4c7a6f97fe.tar.xz
core-6757e5add4f396d73d743834de661d4c7a6f97fe.zip
fix for automounter config
Diffstat (limited to 'src')
-rw-r--r--src/os-plugins/plugins/auth/XX_auth.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/auth/XX_auth.sh b/src/os-plugins/plugins/auth/XX_auth.sh
index 1dcbd26d..21041f4c 100644
--- a/src/os-plugins/plugins/auth/XX_auth.sh
+++ b/src/os-plugins/plugins/auth/XX_auth.sh
@@ -189,6 +189,9 @@ if [ -e /initramfs/plugin-conf/auth.conf ]; then
# configure automnt_script
if [ $auth_automnt_script ]; then
chmod 700 /mnt/${OPENSLX_DEFAULT_DIR}/plugin-repo/auth/$auth_automnt_script
+ sed -i -e '/^\/home.*$/d' /mnt/etc/auto.master
+ echo "/home program:/mnt/${OPENSLX_DEFAULT_DIR}/plugin-repo/auth/$auth_automnt_script" \
+ >> /mnt/etc/auto.master
fi
# configure KerberOS