mirror of
https://github.com/systemd/systemd.git
synced 2025-01-07 21:18:41 +03:00
12 lines
294 B
Plaintext
12 lines
294 B
Plaintext
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
# We don't use mkosi.extra because /usr/sbin could be a symlink and cp doesn't handle that properly until
|
||
|
# coreutils 9.5 or newer.
|
||
|
cat >"$BUILDROOT/sbin/init" <<EOF
|
||
|
#!/bin/bash
|
||
|
echo "Hello from dummy init, beautiful day, innit?"
|
||
|
ip link
|
||
|
EOF
|
||
|
chmod +x "$BUILDROOT/sbin/init"
|