VirtualBox

Ticket #11174: initscripts.patch

File initscripts.patch, 1.2 KB (added by johnha, 12 years ago)

The patch that was inline in the description, only in a text file.

  • vboxadd

    diff -Nuar orig/vboxadd new/vboxadd
    old new  
    6565    system=gentoo
    6666elif [ -f /etc/lfs-release -a -d /etc/rc.d/init.d ]; then
    6767    system=lfs
     68elif [ -f /etc/conaryrc ]; then
     69    system=foresight
    6870else
    6971    system=other
    7072fi
     
    8587    }
    8688fi
    8789
    88 if [ "$system" = "redhat" ]; then
     90if [ "$system" = "redhat" ] || [ "$system" = "foresight" ]; then
    8991    . /etc/init.d/functions
    9092    fail_msg() {
    9193        echo_failure
  • vboxadd-service

    diff -Nuar orig/vboxadd-service new/vboxadd-service
    old new  
    4949elif [ -f /etc/lfs-release ]; then
    5050    system=lfs
    5151    PIDFILE="/var/run/vboxadd-service.pid"
     52elif [ -f /etc/conaryrc ]; then
     53    system=foresight
     54    PIDFILE="/var/lock/subsys/vboxadd"
    5255else
    5356    system=other
    5457    if [ -d /var/run -a -w /var/run ]; then
     
    5659    fi
    5760fi
    5861
    59 if [ "$system" = "redhat" ]; then
     62if [ "$system" = "redhat" ] || [ "$system" = "foresight" ] ; then
    6063    . /etc/init.d/functions
    6164    fail_msg() {
    6265        echo_failure

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy