mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
13 lines
520 B
Bash
Executable File
13 lines
520 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Enter the backend directory, copy over the built EmbassyOS binaries and systemd services, edit the nginx config, then create the .ssh directory
|
|
|
|
cp target/aarch64-unknown-linux-gnu/release/embassy-init /mnt/usr/local/bin
|
|
cp target/aarch64-unknown-linux-gnu/release/embassyd /mnt/usr/local/bin
|
|
cp target/aarch64-unknown-linux-gnu/release/embassy-cli /mnt/usr/local/bin
|
|
cp *.service /mnt/etc/systemd/system/
|
|
|
|
echo "application/wasm wasm;" | sudo tee -a "/mnt/etc/nginx/mime.types"
|
|
|
|
mkdir -p /mnt/root/.ssh
|