From abf4115f1551342603a8deac8582fcff5ba722dd Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:53 -0400 Subject: [PATCH] Create if-up.d directory --- install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install.sh b/install.sh index 46e3974..865b03f 100755 --- a/install.sh +++ b/install.sh @@ -290,6 +290,7 @@ echo "${target_hostname}" | tee ${target}/etc/hostname >&2 echo "done." echo -n "Setting /etc/issue generator... " +mkdir -p ${target}/etc/network/if-up.d >&2 echo -e "#!/bin/sh IP=\"\$( ip -4 addr show dev ${target_interface} | grep inet | awk '{ print \$2 }' | head -1 )\" echo \"Debian GNU/Linux 10 \\\\n \\\\l