summaryrefslogtreecommitdiffstats
path: root/builder/dnbd3-rootfs/hooks/mount-root-device.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/dnbd3-rootfs/hooks/mount-root-device.sh')
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/mount-root-device.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/builder/dnbd3-rootfs/hooks/mount-root-device.sh b/builder/dnbd3-rootfs/hooks/mount-root-device.sh
index 49bfcdc6..35443def 100755
--- a/builder/dnbd3-rootfs/hooks/mount-root-device.sh
+++ b/builder/dnbd3-rootfs/hooks/mount-root-device.sh
@@ -9,6 +9,8 @@ exceptions.try
{
logging.set_commands_level debug
logging.set_level debug
+[[ "$SLX_LOG_FILE_PATH" == "" ]] && SLX_LOG_FILE_PATH=/var/log/openslx
+logging.set_log_file "$SLX_LOG_FILE_PATH"
if ! getarg root=; then
source "/etc/openslx"