| Revision 4744,
1.2 KB
checked in by alanbach-guest, 4 years ago
(diff) |
- Added virtualbox-ose 2.0 to BOSS
|
| Line | |
|---|
| 1 | #!/bin/sh /usr/share/dpatch/dpatch-run |
|---|
| 2 | ## 08-init-lsb.dpatch by Michael Meskes <meskes@debian.org> |
|---|
| 3 | ## |
|---|
| 4 | ## DP: Make initscript lsb cmpliant. |
|---|
| 5 | |
|---|
| 6 | @DPATCH@ |
|---|
| 7 | |
|---|
| 8 | diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in |
|---|
| 9 | --- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in 2008-05-09 09:28:11.000000000 +0000 |
|---|
| 10 | +++ virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in 2008-05-09 09:28:41.000000000 +0000 |
|---|
| 11 | @@ -20,10 +20,10 @@ |
|---|
| 12 | # |
|---|
| 13 | ### BEGIN INIT INFO |
|---|
| 14 | # Provides: vboxnet |
|---|
| 15 | -# Required-Start: $network |
|---|
| 16 | -# Required-Stop: |
|---|
| 17 | +# Required-Start: $remote_fs $network |
|---|
| 18 | +# Required-Stop: $remote_fs |
|---|
| 19 | # Default-Start: 2 3 4 5 |
|---|
| 20 | # Default-Stop: 0 1 6 |
|---|
| 21 | # Description: VirtualBox permanent host networking setup |
|---|
| 22 | ### END INIT INFO |
|---|
| 23 | |
|---|
| 24 | @@ -50,14 +50,13 @@ if [ -z "$NOLSB" ]; then |
|---|
| 25 | . /lib/lsb/init-functions |
|---|
| 26 | fail_msg() { |
|---|
| 27 | [ -f "$VARFILE" ] && rm $VARFILE |
|---|
| 28 | - echo "" |
|---|
| 29 | - log_failure_msg "$1" |
|---|
| 30 | + log_action_end_msg 1 |
|---|
| 31 | } |
|---|
| 32 | succ_msg() { |
|---|
| 33 | - log_success_msg " done." |
|---|
| 34 | + log_action_end_msg 0 |
|---|
| 35 | } |
|---|
| 36 | begin_msg() { |
|---|
| 37 | - log_daemon_msg "$@" |
|---|
| 38 | + log_action_begin_msg $1 |
|---|
| 39 | } |
|---|
| 40 | else |
|---|
| 41 | if [ "$system" = "redhat" ]; then |
|---|
Note: See
TracBrowser
for help on using the repository browser.