bashrc to ssh-agent bugfixes; removing rc.local behavior from ShadowArch install
This commit is contained in:
@@ -275,20 +275,6 @@ if [ ! -z "$audio" ]; then
|
||||
printf 'echo 2048 > /sys/class/rtc/rtc0/max_user_freq\necho 2048 > /proc/sys/dev/hpet/max-user-freq\n' >> /mnt/etc/rc.local
|
||||
fi
|
||||
|
||||
# Emulate old rc.local behavior
|
||||
touch /mnt/etc/rc.local
|
||||
echo '[Unit]
|
||||
Description=Execute commands at boot
|
||||
|
||||
[Service]
|
||||
ExecStart=/etc/rc.local
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target' > /mnt/usr/lib/systemd/system/rclocal.service
|
||||
arch-chroot /mnt systemctl enable rclocal
|
||||
arch-chroot /mnt chmod 0700 /etc/rc.local
|
||||
arch-chroot /mnt chown root: /etc/rc.local
|
||||
|
||||
# Set password
|
||||
header Set new root passphrase and depriviledged user '(depriv)' password.
|
||||
arch-chroot /mnt passwd
|
||||
|
Reference in New Issue
Block a user