VirtualBox

Changeset 16947 in vbox for trunk


Ignore:
Timestamp:
Feb 19, 2009 1:23:43 PM (16 years ago)
Author:
vboxsync
Message:

Additions/Linux/installer: patches for ArchLinux and Slackware by Alan Savage and Bjorn Buckwalter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd-timesync.sh

    r15926 r16947  
    151151    daemon() {
    152152        $@
    153         test $? -eq 0 && add_daemon `basename $1`
     153        test $? -eq 0 && add_daemon rc.`basename $1`
    154154    }
    155155
     
    166166        stat_done
    167167    }
     168
     169    begin() {
     170        stat_busy "$1"
     171    }
     172
    168173fi
    169174 
     
    186191    }
    187192
    188     status() {
    189         echo -n "Checking for vboxadd-timesync"
    190         if [ -f /var/run/$1 ]; then
    191             echo " ...running"
    192         else
    193             echo " ...not running"
    194         fi
     193    begin() {
     194        echo -n "$1"
    195195    }
    196196
     
    256256}
    257257
    258 dmnstatus() {
    259     status vboxadd-timesync
    260 }
     258    status() {
     259        echo -n "Checking for vboxadd-timesync"
     260        if [ -f /var/run/$1 ]; then
     261            echo " ...running"
     262        else
     263            echo " ...not running"
     264        fi
     265    }
    261266
    262267case "$1" in
     
    271276    ;;
    272277status)
    273     dmnstatus
     278    status
    274279    ;;
    275280*)
Note: See TracChangeset for help on using the changeset viewer.

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