diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2024-11-11 13:34:14 +0000 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2024-11-11 13:34:14 +0000 |
| commit | 919f1e86b959321edaa8266ee271e5d0870f5298 (patch) | |
| tree | ea71f92d1770cea4c3804be418a4ba5e62883ec0 /stage2 | |
| parent | e335a4e8b63ac76d4e915381f0956ca2865f2d32 (diff) | |
| parent | c8d0e0b0bb14e04490cf7c6976d6045a48fb5f23 (diff) | |
Merge branch 'master' into arm64
Diffstat (limited to 'stage2')
| -rwxr-xr-x | stage2/01-sys-tweaks/01-run.sh | 2 | ||||
| -rwxr-xr-x | stage2/01-sys-tweaks/files/rc.local | 20 |
2 files changed, 0 insertions, 22 deletions
diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 897463e..be49d32 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -6,8 +6,6 @@ install -m 644 files/50raspi "${ROOTFS_DIR}/etc/apt/apt.conf.d/" install -m 644 files/console-setup "${ROOTFS_DIR}/etc/default/" -install -m 755 files/rc.local "${ROOTFS_DIR}/etc/" - if [ -n "${PUBKEY_SSH_FIRST_USER}" ]; then install -v -m 0700 -o 1000 -g 1000 -d "${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh echo "${PUBKEY_SSH_FIRST_USER}" >"${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh/authorized_keys diff --git a/stage2/01-sys-tweaks/files/rc.local b/stage2/01-sys-tweaks/files/rc.local deleted file mode 100755 index 7d39ed7..0000000 --- a/stage2/01-sys-tweaks/files/rc.local +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -e -# -# rc.local -# -# This script is executed at the end of each multiuser runlevel. -# Make sure that the script will "exit 0" on success or any other -# value on error. -# -# In order to enable or disable this script just change the execution -# bits. -# -# By default this script does nothing. - -# Print the IP address -_IP=$(hostname -I) || true -if [ "$_IP" ]; then - printf "My IP address is %s\n" "$_IP" -fi - -exit 0 |
