#!/bin/sh

## live-config(7) - System Configuration Scripts
## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.


LIVELink ()
{

	if [ ! -e /home/${LIVE_USERNAME} ]
	then
		return
	fi

	if [ -e /home/${LIVE_USERNAME}/LIVE ]
	then
		return
	fi

	echo -n " live-link"

	ln -s /lib/live/mount/medium /home/${LIVE_USERNAME}/LIVE

}

LIVELink
