Added reverting of home directory in init.d on shutdown (stop).