Browse Source

dracut: determine path to dracut-functions

master
Harald Hoyer 16 years ago
parent
commit
fc3c64c8d4
  1. 2
      dracut

2
dracut

@ -123,7 +123,7 @@ fw_dir=${fw_dir//:/ } @@ -123,7 +123,7 @@ fw_dir=${fw_dir//:/ }

[[ $hostonly = yes ]] && hostonly="-h"

[[ $allowlocal && -f "$(dirname $0)/dracut-functions" ]] && dsrc="$(dirname $0)" || dsrc=$dracutbasedir
[[ $allowlocal && -f "$(readlink -f $(dirname $0))/dracut-functions" ]] && dsrc="$(dirname $0)" || dsrc=$dracutbasedir

if [[ -f $dsrc/dracut-functions ]]; then
. $dsrc/dracut-functions

Loading…
Cancel
Save