Since YP reports map files from Solaris to have dots like auto.master instead of underscores like auto_master; /etc/init.d/autofs must be changed to replace underscores with dot just like REDHAT.
a varible UNDERSCORETODOT=1 is added under the debian section and when the value is checked I replceed the below statement
map=`basename $map | sed -e s/^auto_home/auto.home/ -e s/^auto_mnt/auto.mnt/`
with
map=`basename $map | sed -e s/auto_/auto./g`
now all underscores are converted into dots.
No comments:
Post a Comment