Redirect rc(8) output to a file in the jail's /var/log directory.
Previously it was redirected to /dev/null. Submitted by: phk
This commit is contained in:
parent
32b9913273
commit
9cc2fb30f2
@ -116,7 +116,7 @@ jail_start()
|
||||
mount -t procfs proc "${jail_procdir}"
|
||||
fi
|
||||
fi
|
||||
jail 1>/dev/null 2>&1 \
|
||||
jail 1>${jail_rootdir}/var/log/console.log 2>&1 \
|
||||
${jail_rootdir} ${jail_hostname} ${jail_ip} ${jail_exec}
|
||||
[ "$?" -eq 0 ] && echo -n " $jail_hostname"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user