Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
1 changed files with
4 additions and
0 deletions
-
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 |
|
|
|