VirtualBox

Changeset 1715 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 27, 2007 9:13:18 AM (18 years ago)
Author:
vboxsync
Message:

small cosmetical fixes

Location:
trunk/src/VBox/Additions/linux/installer
Files:
3 edited

Legend:

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

    r495 r1715  
    4343fi
    4444
    45 if [ "$system" = redhat ]; then
     45if [ "$system" = "redhat" ]; then
    4646    . /etc/init.d/functions
    4747    fail_msg() {
     
    5656fi
    5757
    58 if [ "$system" = suse ]; then
     58if [ "$system" = "suse" ]; then
    5959    . /etc/rc.status
    6060    daemon() {
     
    7373fi
    7474
    75 if [ "$system" = debian ]; then
     75if [ "$system" = "debian" ]; then
    7676    daemon() {
    7777        start-stop-daemon --start --exec $1 -- $2
     
    9191fi
    9292
    93 if [ "$system" = gentoo ]; then
     93if [ "$system" = "gentoo" ]; then
    9494    . /sbin/functions.sh
    9595    daemon() {
     
    114114fi
    115115
    116 if [ "$system" = slackware ]; then
     116if [ "$system" = "slackware" ]; then
    117117    fail_msg() {
    118118        echo " ...fail!"
     
    124124
    125125    begin() {
    126         echo -n $1
     126        echo -n "$1"
    127127    }
    128128fi
     
    141141start() {
    142142    if ! test -f $PIDFILE; then
    143         echo -n "Starting VirtualBox host to guest time synchronisation";
     143        echo -n "Starting VirtualBox host to guest time synchronisation ";
    144144        vboxaddrunning || {
    145145            echo "VirtualBox Additions module not loaded!"
     
    156156stop() {
    157157    if test -f $PIDFILE; then
    158         echo -n "Stopping VirtualBox host to guest time synchronisation";
     158        echo -n "Stopping VirtualBox host to guest time synchronisation ";
    159159        vboxaddrunning || {
    160160            echo "VirtualBox Additions module not loaded!"
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r1520 r1715  
    5151
    5252    begin() {
    53         echo -n $1
     53        echo -n "$1"
    5454    }
    5555fi
     
    6868
    6969    begin() {
    70         echo -n $1
     70        echo -n "$1"
    7171    }
    7272fi
     
    118118    }
    119119fi
    120                                                
     120
    121121kdir=/lib/modules/`uname -r`/misc
    122122dev=/dev/vboxadd
     
    157157        }
    158158
    159         sleep 1
     159        sleep .5
    160160    }
    161161    if [ ! -c $dev ]; then
  • trunk/src/VBox/Additions/linux/installer/vboxvfs.sh

    r1520 r1715  
    3838fi
    3939
    40 if [ "$system" = redhat ]; then
     40if [ "$system" = "redhat" ]; then
    4141    . /etc/init.d/functions
    4242    fail_msg() {
     
    5151
    5252    begin() {
    53         echo -n $1
    54     }
    55 fi
    56 
    57 if [ "$system" = suse ]; then
     53        echo -n "$1"
     54    }
     55fi
     56
     57if [ "$system" = "suse" ]; then
    5858    . /etc/rc.status
    5959    fail_msg() {
     
    6868
    6969    begin() {
     70        echo -n "$1"
     71    }
     72fi
     73
     74if [ "$system" = "debian" ]; then
     75    fail_msg() {
     76        echo " ...fail!"
     77    }
     78
     79    succ_msg() {
     80        echo " ...done."
     81    }
     82
     83    begin() {
    7084        echo -n $1
    7185    }
    7286fi
    7387
    74 if [ "$system" = debian ]; then
    75     fail_msg() {
    76         echo " ...fail!"
    77     }
    78 
    79     succ_msg() {
    80         echo " ...done."
    81     }
    82 
    83     begin() {
    84         echo -n $1
    85     }
    86 fi
    87 
    88 if [ "$system" = gentoo ]; then
     88if [ "$system" = "gentoo" ]; then
    8989    . /sbin/functions.sh
    9090    fail_msg() {
     
    105105fi
    106106
    107 if [ "$system" = slackware ]; then
     107if [ "$system" = "slackware" ]; then
    108108    fail_msg() {
    109109        echo " ...fail!"
     
    128128
    129129fail() {
    130     if [ "$system" = gentoo ]; then
     130    if [ "$system" = "gentoo" ]; then
    131131        eerror $1
    132132        exit 1
     
    146146
    147147start() {
    148     begin "Starting VirtualBox Additions shared folder support";
     148    begin "Starting VirtualBox Additions shared folder support ";
    149149    running || {
    150150        modprobe $modname > /dev/null 2>&1 || {
     
    163163
    164164stop() {
    165     begin "Stopping VirtualBox Additions shared folder support";
     165    begin "Stopping VirtualBox Additions shared folder support ";
    166166    if running; then
    167167        rmmod $modname || fail "Cannot unload module $modname"
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