Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 339820 Details for
Bug 451966
app-misc/g15daemon start-stop-daemon: fopen `/var/run/g15daemon.pid': No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
rewritte init script
g15daemon-1.9.5.3.initd (text/plain), 1.02 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2013-02-23 17:22:07 UTC
(
hide
)
Description:
rewritte init script
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2013-02-23 17:22:07 UTC
Size:
1.02 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-misc/g15daemon/files/g15daemon-1.2.7-r2.initd,v 1.1 2007/12/19 17:38:30 chainsaw Exp $ > ># Init script for g15daemon > >pidfile="/var/run/g15daemon.pid" >command="/usr/sbin/g15daemon" >command_args="" >star_stop_daemon_args="--background --pidfile ${pidfile}" > >depend() { > after hotplug > after usb > after modules >} > >start_pre() { > # Does the input device already exist? > if [ -e "/proc/modules" ] ; then > if [ ! -e "/dev/input/uinput" ] || [ ! -e "/dev/uinput" ] ; then > # We can load modules, but uinput device does not exist > einfo "Loading uinput module" > /sbin/modprobe uinput > /dev/null 2> /dev/null > fi > fi > > local SWITCHKEY="" > [ "${CLIENT_SWITCH_L1}" = "yes" ] && command_args="--switch" >} > >stop() { > ebegin "Stopping g15daemon" > local KILLOPT="-k" > if [ $BACKLIGHT_OFF = "yes" ]; then > KILLOPT="-K" > fi > start-stop-daemon -R 5 --exec ${command} -- ${KILLOPT} > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 451966
:
339820
|
339822