diff -Nuar orig/vboxadd new/vboxadd
|
old
|
new
|
|
| 65 | 65 | system=gentoo |
| 66 | 66 | elif [ -f /etc/lfs-release -a -d /etc/rc.d/init.d ]; then |
| 67 | 67 | system=lfs |
| | 68 | elif [ -f /etc/conaryrc ]; then |
| | 69 | system=foresight |
| 68 | 70 | else |
| 69 | 71 | system=other |
| 70 | 72 | fi |
| … |
… |
|
| 85 | 87 | } |
| 86 | 88 | fi |
| 87 | 89 | |
| 88 | | if [ "$system" = "redhat" ]; then |
| | 90 | if [ "$system" = "redhat" ] || [ "$system" = "foresight" ]; then |
| 89 | 91 | . /etc/init.d/functions |
| 90 | 92 | fail_msg() { |
| 91 | 93 | echo_failure |
diff -Nuar orig/vboxadd-service new/vboxadd-service
|
old
|
new
|
|
| 49 | 49 | elif [ -f /etc/lfs-release ]; then |
| 50 | 50 | system=lfs |
| 51 | 51 | PIDFILE="/var/run/vboxadd-service.pid" |
| | 52 | elif [ -f /etc/conaryrc ]; then |
| | 53 | system=foresight |
| | 54 | PIDFILE="/var/lock/subsys/vboxadd" |
| 52 | 55 | else |
| 53 | 56 | system=other |
| 54 | 57 | if [ -d /var/run -a -w /var/run ]; then |
| … |
… |
|
| 56 | 59 | fi |
| 57 | 60 | fi |
| 58 | 61 | |
| 59 | | if [ "$system" = "redhat" ]; then |
| | 62 | if [ "$system" = "redhat" ] || [ "$system" = "foresight" ] ; then |
| 60 | 63 | . /etc/init.d/functions |
| 61 | 64 | fail_msg() { |
| 62 | 65 | echo_failure |