mirror of
https://github.com/Retropex/apolloapi-v2.git
synced 2025-05-21 09:32:36 +02:00
9 lines
121 B
Bash
Executable File
9 lines
121 B
Bash
Executable File
#!/bin/bash
|
|
DEVICE=/dev/nvme0n1p1
|
|
|
|
if [ -b "$DEVICE" ]; then
|
|
swapon /media/nvme/swapfile
|
|
else
|
|
exit 0
|
|
fi
|