Last change
on this file since 1622 was
1440,
checked in by broder, 16 years ago
|
Add an init script to invirt-vnc-client to refresh the VNC certificate
trust store
|
File size:
745 bytes
|
Rev | Line | |
---|
[1440] | 1 | #! /bin/sh |
---|
| 2 | ### BEGIN INIT INFO |
---|
| 3 | # Provides: invirt-vnc-client |
---|
| 4 | # Required-Start: $local_fs $remote_fs |
---|
| 5 | # Required-Stop: $local_fs $remote_fs |
---|
| 6 | # Default-Start: 2 3 4 5 |
---|
| 7 | # Default-Stop: 0 1 6 |
---|
| 8 | # Short-Description: Invirt VNC client certificates |
---|
| 9 | # Description: Refresh the VNC trusted certificate store for the |
---|
| 10 | # Invirt VNC client to include certificates for all |
---|
| 11 | # current hosts |
---|
| 12 | ### END INIT INFO |
---|
| 13 | |
---|
| 14 | NAME=invirt-vnc-client |
---|
| 15 | DESC="Invirt VNC client certificates" |
---|
| 16 | PATH=/sbin:/usr/sbin:/bin:/usr/bin |
---|
| 17 | |
---|
| 18 | dpkg -s "$NAME" >/dev/null 2>/dev/null || exit 0 |
---|
| 19 | |
---|
| 20 | . /lib/init/std-init.sh |
---|
| 21 | |
---|
| 22 | do_start() |
---|
| 23 | { |
---|
| 24 | invirt-update-vnc-cert |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | do_reload() |
---|
| 28 | { |
---|
| 29 | do_start |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | do_stop() |
---|
| 33 | { |
---|
| 34 | return 0 |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | std_init "$1" |
---|
Note: See
TracBrowser
for help on using the repository browser.