summaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/s6-rc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-01-31 15:50:03 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-01-31 15:50:03 +0000
commit7f7a2b99a0c2391926fe527a92ce439c8a147fcd (patch)
tree3104522f3fe0c30eb568884f9e91e3ab47731683 /layout/rootfs/etc/s6-rc
parent3971b792e9e109e6fde2126ddb8c68c749827edb (diff)
downloadlh-bootstrap-7f7a2b99a0c2391926fe527a92ce439c8a147fcd.tar.xz
Small incremental build fixes (47)
Diffstat (limited to 'layout/rootfs/etc/s6-rc')
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-eth0/up2
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-route/up2
-rwxr-xr-xlayout/rootfs/etc/s6-rc/source-base/sshd-4/run2
3 files changed, 3 insertions, 3 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
index b41c637..b3dd787 100644
--- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
+++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
@@ -1,3 +1,3 @@
if { sleep 2 } # delay to load virtio-net
-if { ip addr add 10.0.0.1/24 dev eth0 }
+if { ip addr add 10.0.2.1/24 dev eth0 }
ip link set dev eth0 up
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-route/up b/layout/rootfs/etc/s6-rc/source-base/init-route/up
index 6a6b62c..4333289 100644
--- a/layout/rootfs/etc/s6-rc/source-base/init-route/up
+++ b/layout/rootfs/etc/s6-rc/source-base/init-route/up
@@ -1 +1 @@
-ip route add default via 10.0.0.2
+ip route add default via 10.0.2.2
diff --git a/layout/rootfs/etc/s6-rc/source-base/sshd-4/run b/layout/rootfs/etc/s6-rc/source-base/sshd-4/run
index 7d8da1b..9af7f3d 100755
--- a/layout/rootfs/etc/s6-rc/source-base/sshd-4/run
+++ b/layout/rootfs/etc/s6-rc/source-base/sshd-4/run
@@ -1,6 +1,6 @@
#!/command/execlineb -P
fdmove -c 2 1
fdmove 1 3
-s6-tcpserver4 -v 2 -1 -- 10.0.0.1 22
+s6-tcpserver4 -v 2 -1 -- 10.0.2.1 22
s6-tcpserver-access -v 2 -DRHl0 -t 5000 -i data/rules --
dropbear -i -K 60