[Bug 326702] Re: MythTV creates files in /home even if mount /home fails

Will Uther willu.mailingLists at cse.unsw.edu.au
Sun Feb 8 04:52:53 UTC 2009


That sounds reasonable.

Something like this:

if [ ! -d $USER_HOME ]; then
	log_failure_msg "MythTV home directory, $USER_HOME, does not exist!"
	exit 1
fi

#create a symbolic link for mysql.txt so it can't be overwritten
if [ ! -e $USER_HOME/.mythtv/mysql.txt ]; then
    mkdir -p $USER_HOME/.mythtv
    chown -R $USER $USER_HOME/.mythtv
    ln -s /etc/mythtv/mysql.txt $USER_HOME/.mythtv/mysql.txt
fi

-- 
MythTV creates files in /home even if mount /home fails
https://bugs.launchpad.net/bugs/326702
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list