This line from the file "/etc/init.d/autofs": cat /etc/autofs/auto.master | sed -e '/^#/d' -e '/^$/d' try to remove all comments and blank lines from auto.master file, but will not remove lines like: # coments several spaces on the line up. Then I sugest to use the following sed code: cat /etc/autofs/auto.master | sed -e '/^ *[^# ]/!d' that will make the service nice. And additionally this code for cut comments may be have to be inserted on another scripts files. If have a more nice way to sugest corrections like this, please tell me.
I have updated the ebuild with your suggested changes. Thanks for the suggestion! :) The updated files should be available in portage within 24 hours. emerge rsync emerge autofs
Thanks. Another little change is to use: sed -e '/^[[:space:]]*[^#[:space:]]/!d' for get the tabs out, little important. :)
reopening bug to test new sed line... :P
*** This bug has been marked as a duplicate of 8254 ***
owner = raker