Browse Source

Log rc.local

master
Mayank 5 years ago
parent
commit
3b170ec608
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 4
      stage2/01-sys-tweaks/files/rc.local

4
stage2/01-sys-tweaks/files/rc.local

@ -11,6 +11,10 @@
#
# By default this script does nothing.
exec 2> /tmp/rc.local.log # send stderr from rc.local to a log file
exec 1>&2 # send stdout to the same log file
set -x # tell sh to display commands before execution
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then

Loading…
Cancel
Save