summaryrefslogtreecommitdiff
path: root/dracut
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2009-05-28 21:41:05 -0500
committerVictor Lowther <victor.lowther@gmail.com>2009-05-28 21:41:05 -0500
commit1a918b40b6e80dd95ac39d82010d672db4ad04b4 (patch)
tree837f46c8c5f6bca755d1e564e0ca48c7dbcac2ba /dracut
parentc93d9f62652f9aef21550898bd53890cad5e9732 (diff)
Log dracut output.
If we are installed, log to /var/log/dracut.log. If we are not installed, log to /tmp/dracut.log
Diffstat (limited to 'dracut')
-rwxr-xr-xdracut1
1 files changed, 1 insertions, 0 deletions
diff --git a/dracut b/dracut
index a255a14..63939e9 100755
--- a/dracut
+++ b/dracut
@@ -71,6 +71,7 @@ done
[[ $drivers_l ]] && drivers=$drivers_l
[[ $allowlocal && -f "$(dirname $0)/dracut-functions" ]] && dsrc="$(dirname $0)" || dsrc=/usr/lib/dracut
+
if [[ -f $dsrc/dracut-functions ]]; then
. $dsrc/dracut-functions
else