/etc/init.d/supplement
C	#!/sbin/runscript
	# Copyright 1999-2015 Gentoo Foundation
	# Distributed under the terms of the GNU General Public License v2
	# $Header: $
	
	depend() {
		after sysresccd
		before local
	}
	
	start() {
		ebegin "Mounting supplement image"
		mount /mnt/supplement
		eend $?
		if [ -e /mnt/supplement/rc.start ]; then
			ln -s /mnt/supplement/rc.start /etc/local.d/supplement.start
		fi
		if [ -e /mnt/supplement/rc.stop ]; then
			ln -s /mnt/supplement/rc.stop /etc/local.d/supplement.stop
		fi
	}
	
	stop() {
		true
	}
o0:0	m755
/etc/runlevels/default/supplement	l	/etc/init.d/supplement	o0:0	m777
/etc/runlevels/default/local	l	/etc/init.d/local	o0:0	m777
/mnt/supplement	d	o0:0	m755