This commit is contained in:
simono41 2018-09-03 02:36:39 +02:00
parent 35ddd5e600
commit 2b078fc776

View file

@ -499,18 +499,18 @@ if ! [ "${version}" == "libre-xfce4-openrc" ]; then
systemctl enable bluetooth.service systemctl enable bluetooth.service
systemctl enable httpd systemctl enable httpd
else else
rc-update add lvm boot rc-update add lvm boot
rc-update add dmcrypt boot rc-update add dmcrypt boot
rc-update add dbus default rc-update add dbus default
rc-update add alsasound default rc-update add alsasound default
rc-update add cronie default rc-update add cronie default
rc-update add NetworkManager default rc-update add NetworkManager default
rc-update add xdm default rc-update add xdm default
sed -i 's/DISPLAYMANAGER=.*$/DISPLAYMANAGER=\"lightdm\"/' /etc/conf.d/xdm sed -i 's/DISPLAYMANAGER=.*$/DISPLAYMANAGER=\"lightdm\"/' /etc/conf.d/xdm
sed -i 's/keymap=.*$/keymap=\"de\"/' /etc/conf.d/keymaps sed -i 's/keymap=.*$/keymap=\"de\"/' /etc/conf.d/keymaps
echo "--autologin user1 --noclear" > /etc/conf.d/agetty.tty1 echo "--autologin user1 --noclear" > /etc/conf.d/agetty.tty1
fi fi
@ -709,15 +709,15 @@ cp /opt/${repo}/grub_background.png /usr/share/grub/background.png
#chmod +x /usr/lib/systemd/system-sleep/openvpn-reconnect-systemd.sh #chmod +x /usr/lib/systemd/system-sleep/openvpn-reconnect-systemd.sh
if ! [ "${version}" == "libre-xfce4-openrc" ]; then if ! [ "${version}" == "libre-xfce4-openrc" ]; then
if [ "${version%-*-*}" != "manjaro" ]; then if [ "${version%-*-*}" != "manjaro" ]; then
su "$username" -c "aurinstaller "https://aur.archlinux.org/pamac-aur.git"" su "$username" -c "aurinstaller "https://aur.archlinux.org/pamac-aur.git""
fi fi
if [ "${version%-*-*}" != "pi" ] && [ "${version%-*-*}" != "manjaro" ] && [ "$packageupdate" != "skip" ]; then if [ "${version%-*-*}" != "pi" ] && [ "${version%-*-*}" != "manjaro" ] && [ "$packageupdate" != "skip" ]; then
su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git"" su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth.git""
su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth-theme-dark-arch.git"" su "$username" -c "aurinstaller "https://aur.archlinux.org/plymouth-theme-dark-arch.git""
plymouth-set-default-theme -R dark-arch plymouth-set-default-theme -R dark-arch
fi fi
su "$username" -c "aurinstaller "openvpn-reconnect"" su "$username" -c "aurinstaller "openvpn-reconnect""
fi fi
# nano # nano