Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 34227 Details for
Bug 39023
tightvnc init.d script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
redhat vncservers init script ported to gentoo init architecture
vncservers.init.d (text/plain), 725 bytes, created by
Matthew Caron
on 2004-06-26 14:23:28 UTC
(
hide
)
Description:
redhat vncservers init script ported to gentoo init architecture
Filename:
MIME Type:
Creator:
Matthew Caron
Created:
2004-06-26 14:23:28 UTC
Size:
725 bytes
patch
obsolete
>#!/sbin/runscript > >depend() { ># MC - used the same depend() as ssh > use logger dns > need net >} > >start() { > einfo "Starting VNC servers." > RETVAL=0 > for display in ${VNCSERVERS} > do > echo -n "${display} " > unset BASH_ENV ENV > export USER="${display##*:}" > su ${USER} -c "cd ~${USER} && [ -f .vnc/passwd ] && vncserver :${display%%:*}" >& /dev/null > RETVAL=$? > [ "$RETVAL" -ne 0 ] && break > done > echo > eend $? >} > >stop() { > ebegin "Shutting down VNC servers" > for display in ${VNCSERVERS} > do > echo -n "${display} " > unset BASH_ENV ENV > export USER="${display##*:}" > su ${USER} -c "vncserver -kill :${display%%:*}" >& /dev/null > done > 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 39023
:
24230
|
24231
| 34227 |
34228