2012-03-18 14:15:17 +04:00
|
|
|
#!/sbin/runscript
|
2013-09-02 23:00:06 +04:00
|
|
|
# Copyright (c) 2011-2013 Sergey Popov <admin@pinkbyte.ru>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-03-18 14:15:17 +04:00
|
|
|
|
|
|
|
description="Yet Another Stupid Network Daemon (early call for LPT locking)"
|
|
|
|
|
|
|
|
depend()
|
|
|
|
{
|
|
|
|
need logger
|
|
|
|
}
|
|
|
|
|
|
|
|
start()
|
|
|
|
{
|
|
|
|
ebegin "Starting LPT locking for yasnd"
|
2012-03-23 14:08:56 +04:00
|
|
|
/usr/sbin/yasnd --init
|
2012-03-18 14:15:17 +04:00
|
|
|
eend $?
|
|
|
|
}
|
|
|
|
|
|
|
|
stop()
|
|
|
|
{
|
2012-03-28 11:08:41 +04:00
|
|
|
eend 0
|
2012-03-18 14:15:17 +04:00
|
|
|
}
|