-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit
More file actions
executable file
·35 lines (25 loc) · 751 Bytes
/
init
File metadata and controls
executable file
·35 lines (25 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/sh
/bin/mount -t devtmpfs devtmpfs /dev
/bin/mount -t proc none /proc
/bin/mount -t sysfs none /sys
exec 0</dev/console
exec 1>/dev/console
exec 2>/dev/console
cat <<!
Boot took $(cut -d' ' -f1 /proc/uptime) seconds
$(cat<< "EOF"
_____ _
| __ \ | |
| |__) ____ ___| | ___ __ ___ __ _ _ __ ___
| ___/ _` |/ __| |/ | '_ ` _ \ / _` | '_ \/ __|
| | | (_| | (__| <| | | | | | (_| | | | \__ \
|_| \__,_|\___|_|\_|_| |_| |_|\__,_|_| |_|___/
/\/\ (_)_ __ (_) / /(_)_ __ _ ___ __
/ \| | '_ \| | / / | | '_ \| | | \ \/ /
/ /\/\ \ | | | | | / /__| | | | | |_| |> <
\/ \/_|_| |_|_| \____/_|_| |_|\__,_/_/\_\
EOF
)
Welcome to packmans_mini_linux
!
exec /bin/sh