summaryrefslogtreecommitdiff
path: root/sub/layout
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-07-17 11:42:41 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-07-17 11:42:41 +0000
commit24eb8b504f62c04ed103d25e27190bdf35fad9dc (patch)
tree1d2d0bc9e1fe2c59ac9a2a47cba60e17bdf80f34 /sub/layout
parent66cacc246be0af6f87195ad83dda3950b3038030 (diff)
downloadlh-bootstrap-24eb8b504f62c04ed103d25e27190bdf35fad9dc.tar.xz
Uncomment sed invocations, fix stray import
Diffstat (limited to 'sub/layout')
-rwxr-xr-xsub/layout/copylayout6
1 files changed, 3 insertions, 3 deletions
diff --git a/sub/layout/copylayout b/sub/layout/copylayout
index 59dd0e0..e9cea1c 100755
--- a/sub/layout/copylayout
+++ b/sub/layout/copylayout
@@ -41,10 +41,10 @@ timeout=${S6RC_TIMEOUT}
buildtime=$(s6-clock)
hostarch=$(s6-echo $TRIPLE | cut -f1 -d-)
-# sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/etc/s6-rc/source-base/00/up $output/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell $output/userfs/home/guest/.execline-shell
+sed -i -e "s/%%HOSTNAME%%/lh-$hostarch/g" $output/rootfs/etc/s6-rc/source-base/00/up $output/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run $output/rootfs/etc/motd $output/rootfs/etc/issue.net $output/rootfs/root/.execline-shell $output/userfs/home/guest/.execline-shell
sed -i -e "s/%%CONSOLE%%/$console/g" $output/rootfs/etc/s6-linux-init/run-image/service/s6-linux-init-early-getty/run
-# sed -i -e "s/%%NETMODULE%%/$netmodule/g" $output/rootfs/etc/s6-rc/source-base/init-eth0/up
-# sed -i -e "s/%%RCTIMEOUT%%/$timeout/g" -e "s/%%BUILDTIME%%/$buildtime/g" $output/rootfs/etc/rc.init
+sed -i -e "s/%%NETMODULE%%/$netmodule/g" $output/rootfs/etc/s6-rc/source-base/init-eth0/up
+sed -i -e "s/%%RCTIMEOUT%%/$timeout/g" -e "s/%%BUILDTIME%%/$buildtime/g" $output/rootfs/etc/rc.init
if $USE_DHCP ; then