Skip to content

Commit c8d0e0b

Browse files
committed
Remove rc.local
raspberrypi-sys-mods adds /etc/issue.d/IP.issue instead
1 parent 449d43e commit c8d0e0b

File tree

4 files changed

+0
-26
lines changed

4 files changed

+0
-26
lines changed

stage1/01-sys-tweaks/00-run.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash -e
22

3-
install -d "${ROOTFS_DIR}/etc/systemd/system/[email protected]"
4-
install -m 644 files/noclear.conf "${ROOTFS_DIR}/etc/systemd/system/[email protected]/noclear.conf"
53
install -v -m 644 files/fstab "${ROOTFS_DIR}/etc/fstab"
64

75
on_chroot << EOF

stage1/01-sys-tweaks/files/noclear.conf

Lines changed: 0 additions & 2 deletions
This file was deleted.

stage2/01-sys-tweaks/01-run.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ install -m 644 files/50raspi "${ROOTFS_DIR}/etc/apt/apt.conf.d/"
66

77
install -m 644 files/console-setup "${ROOTFS_DIR}/etc/default/"
88

9-
install -m 755 files/rc.local "${ROOTFS_DIR}/etc/"
10-
119
if [ -n "${PUBKEY_SSH_FIRST_USER}" ]; then
1210
install -v -m 0700 -o 1000 -g 1000 -d "${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh
1311
echo "${PUBKEY_SSH_FIRST_USER}" >"${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh/authorized_keys

stage2/01-sys-tweaks/files/rc.local

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)