Changeset 2712

Show
Ignore:
Timestamp:
04/13/08 12:13:47 (7 months ago)
Author:
hollow
Message:

fix functions.sh location for gentoo; create /lib/rc/sh for older stages that don't have it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/distrib/gentoo/initpost

    r2702 r2712  
    6363if test "$initstyle" == "gentoo"; then 
    6464        echo ">>> Installing special init-style magic ... " 
     65 
     66        # force /lib/rc/sh even if we don't have it in older stages 
     67        $_CHROOT_SH mkdir /lib 2>/dev/null || : 
     68        $_CHROOT_SH mkdir /lib/rc 2/dev/null || : 
     69        $_CHROOT_SH mkdir /lib/rc/sh 2/dev/null || : 
    6570 
    6671        $_CAT "$__DISTRIBDIR"/gentoo/init-vserver.sh | \ 
  • trunk/scripts/vserver-init.functions

    r2434 r2712  
    2222    lockfile=/var/lock/subsys/$LOCKFILE 
    2323elif test -e /etc/gentoo-release; then 
    24     . /sbin/functions.sh 
     24    . /etc/init.d/functions.sh 
    2525    _beginResult() { ebegin "$@"; } 
    2626    _postResult() { :; }