#!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { need net ipx } mkdir_marsnwedirs() { [ -d /var/run/mars_nwe ] || mkdir -p /var/run/mars_nwe } start() { ebegin "Starting Martin Stovers NetWare-Emulator" mkdir_marsnwedirs eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /var/run/mars_nwe/nwserv.pid eend $? } stop() { ebegin "Stopping Martin Stovers NetWare-Emulator" start-stop-daemon --stop --quiet --pidfile /var/run/mars_nwe/nwserv.pid eend $? }