We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6183ce commit 2cc9fadCopy full SHA for 2cc9fad
alpine/aarch64/init
@@ -0,0 +1,16 @@
1
+#!/bin/sh
2
+
3
+mount -t proc none /proc
4
+mount -t sysfs none /sys
5
+mkdir /dev/pts
6
+mount -t devpts devpts /dev/pts
7
+mount -t tmpfs tmpfs /tmp
8
9
+echo "Configuring networking..."
10
+ifconfig eth0 10.0.2.15 netmask 255.255.255.0
11
+route add default gw 10.0.2.2
12
+ifconfig lo 127.0.0.1 netmask 255.0.0.0
13
14
+echo -e "Boot took $(cut -d' ' -f1 /proc/uptime) seconds."
15
16
+exec /sbin/init
0 commit comments