Fix lsblk logging 🐒
This commit is contained in:
@@ -4,15 +4,15 @@
|
|||||||
# Run the install-little-backup-box.sh script first
|
# Run the install-little-backup-box.sh script first
|
||||||
# to install the required packages and configure the system.
|
# to install the required packages and configure the system.
|
||||||
|
|
||||||
# Log the output of the lsblk command for troubleshooting
|
|
||||||
sudo lsblk > lsblk.log
|
|
||||||
|
|
||||||
# Specify devices and their mount points
|
# Specify devices and their mount points
|
||||||
STORAGE_DEV="sda1"
|
STORAGE_DEV="sda1"
|
||||||
STORAGE_MOUNT_POINT="/media/storage"
|
STORAGE_MOUNT_POINT="/media/storage"
|
||||||
CARD_DEV="sdb1"
|
CARD_DEV="sdb1"
|
||||||
CARD_MOUNT_POINT="/media/card"
|
CARD_MOUNT_POINT="/media/card"
|
||||||
|
|
||||||
|
# Log the output of the lsblk command for troubleshooting
|
||||||
|
sudo lsblk > "$HOME/lsblk.log"
|
||||||
|
|
||||||
# Set the ACT LED to heartbeat
|
# Set the ACT LED to heartbeat
|
||||||
sudo sh -c "echo heartbeat > /sys/class/leds/led0/trigger"
|
sudo sh -c "echo heartbeat > /sys/class/leds/led0/trigger"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user