2012-03-18 14:15:17 +04:00
|
|
|
#!/sbin/runscript
|
|
|
|
# Copyright (c) 2011 Sergey Popov <admin@pinkbyte.ru>
|
|
|
|
# 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"
|
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
|
|
|
}
|