![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Include PERL script with in the unix shell script | ganapati | UNIX for Dummies Questions & Answers | 1 | 04-29-2008 01:18 PM |
| how to include header file in b-sh script | bluemoon1 | Shell Programming and Scripting | 2 | 09-10-2007 07:45 PM |
| Include lines within a script | chiru_h | Shell Programming and Scripting | 1 | 09-22-2006 01:51 PM |
| How to include shell script in C program | mridula | High Level Programming | 5 | 07-30-2006 04:13 AM |
| SB150 auto reboot | howhowzz | SUN Solaris | 2 | 05-04-2006 07:54 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Include xhost + at auto reboot script
Below is the startup/stop script for vncservers by end-user.
How can xhost + command include in this script? Please help. Thank you. #!/bin/sh # # Startup/Stop script for vncservers for some users. # case "$1" in 'start') /bin/rm /tmp/.X11-unix/X0 /bin/su - applprod -c "/export/home/applprod/VNC/vncserver :0" ;; 'stop') /bin/su - applprod -c "/export/home/applprod/VNC/vncserver -kill :0" ;; *) echo "Usage: /etc/init.d/rc.vnc { start | stop }" ;; esac |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|