Skip to content

Commit

Permalink
change default hostname to lbb
Browse files Browse the repository at this point in the history
  • Loading branch information
outdoorbits committed Sep 27, 2024
1 parent b0268db commit 579492f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion install-little-backup-box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,13 @@ sudo DEBIAN_FRONTEND=noninteractive \
# disable services
sudo systemctl disable openvpn.service

# set language
echo """# File generated by update-locale
LANG=en_GB.UTF-8
LC_ALL=en_GB.UTF-8""" | sudo tee /etc/default/locale

# change hostname
sudo raspi-config nonint do_hostname little-backup-box
sudo raspi-config nonint do_hostname lbb

# raspberry pi 5: usb_max_current_enable
CONFIG_TXT="/boot/firmware/config.txt"
Expand Down
2 changes: 1 addition & 1 deletion scripts/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
include("sub-popup.php");

include("sub-common.php");
$NVMe_available = get_nvme_available($WORKING_DIR, $constants, false);
$NVMe_available = get_nvme_available(WORKING_DIR: $WORKING_DIR, constants: $constants, ignore_fs: false);
$CloudServices = get_cloudservices($constants);

$LocalAutoServices = array('anyusb');
Expand Down

0 comments on commit 579492f

Please sign in to comment.