Changeset 38924 in vbox for trunk/src/VBox/Installer/linux
- Timestamp:
- Sep 30, 2011 8:51:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/routines.sh
r38225 r38924 470 470 then 471 471 test -x "/sbin/chkconfig" || \ 472 { log " addrunlevel: /sbin/chkconfig not found" && return 1; }472 { log "delrunlevel: /sbin/chkconfig not found" && return 1; } 473 473 if /sbin/chkconfig --list $1 > /dev/null 2>&1; then 474 474 /sbin/chkconfig --del $1 > /dev/null 2>&1 || { … … 480 480 then 481 481 test -x /sbin/insserv || { 482 log " addrunlevel: insserv not found" && return 1;482 log "delrunlevel: insserv not found" && return 1; 483 483 } 484 484 /sbin/insserv -r $1 > /dev/null 2>&1 … … 486 486 elif [ "$ro_SYS_TYPE" = "debian" ]; then 487 487 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; } 489 489 update-rc.d -f $1 remove > /dev/null 2>&1 490 490 # Gentoo Linux 491 491 elif [ "$ro_SYS_TYPE" = "gentoo" ]; then 492 492 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; } 494 494 rc-update del "$1" > /dev/null 2>&1 495 495 # Linux from scratch, by the book
Note:
See TracChangeset
for help on using the changeset viewer.