diff options
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/01-sys-tweaks/00-patches/06-rc_local.diff | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/stage2/01-sys-tweaks/00-patches/06-rc_local.diff b/stage2/01-sys-tweaks/00-patches/06-rc_local.diff deleted file mode 100644 index 98b44b8..0000000 --- a/stage2/01-sys-tweaks/00-patches/06-rc_local.diff +++ /dev/null @@ -1,15 +0,0 @@ -Index: jessie-stage2/rootfs/etc/rc.local -=================================================================== ---- jessie-stage2.orig/rootfs/etc/rc.local -+++ jessie-stage2/rootfs/etc/rc.local -@@ -11,4 +11,10 @@ - # - # By default this script does nothing. - -+# Print the IP address -+_IP=$(hostname -I) || true -+if [ "$_IP" ]; then -+ printf "My IP address is %s\n" "$_IP" -+fi -+ - exit 0 |