From a528959369eb9bbd192531e8e833f93f87517226 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Sun, 18 Mar 2012 14:15:17 +0400 Subject: [PATCH] OpenRC script for LPT locking on boot --- contrib/yasnd-early.openrc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 contrib/yasnd-early.openrc diff --git a/contrib/yasnd-early.openrc b/contrib/yasnd-early.openrc new file mode 100755 index 0000000..67da8b7 --- /dev/null +++ b/contrib/yasnd-early.openrc @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright (c) 2011 Sergey Popov +# All rights reserved. Released under the 2-clause BSD license. + +description="Yet Another Stupid Network Daemon (early call for LPT locking)" + +depend() +{ + need logger +} + +start() +{ + ebegin "Starting LPT locking for yasnd" + /sbin/yasnd --init + eend $? +} + +stop() +{ +}