VirtualBox

Changeset 38924 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Sep 30, 2011 8:51:47 PM (13 years ago)
Author:
vboxsync
Message:

Installer/linux: fix log messages in routines.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/routines.sh

    r38225 r38924  
    470470    then
    471471        test -x "/sbin/chkconfig" || \
    472             { log "addrunlevel: /sbin/chkconfig not found" && return 1; }
     472            { log "delrunlevel: /sbin/chkconfig not found" && return 1; }
    473473        if /sbin/chkconfig --list $1 > /dev/null 2>&1; then
    474474            /sbin/chkconfig --del $1 > /dev/null 2>&1 || {
     
    480480    then
    481481        test -x /sbin/insserv || {
    482             log "addrunlevel: insserv not found" && return 1;
     482            log "delrunlevel: insserv not found" && return 1;
    483483        }
    484484        /sbin/insserv -r $1 > /dev/null 2>&1
     
    486486    elif [ "$ro_SYS_TYPE" = "debian" ]; then
    487487        test -x `which update-rc.d` || \
    488             { log "addrunlevel: update-rc.d not found" && return 1; }
     488            { log "delrunlevel: update-rc.d not found" && return 1; }
    489489        update-rc.d -f $1 remove > /dev/null 2>&1
    490490    # Gentoo Linux
    491491    elif [ "$ro_SYS_TYPE" = "gentoo" ]; then
    492492        test -x `which rc-update` || \
    493             { log "addrunlevel: update-rc.d not found" && return 1; }
     493            { log "delrunlevel: update-rc.d not found" && return 1; }
    494494        rc-update del "$1" > /dev/null 2>&1
    495495    # Linux from scratch, by the book
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