fix
This commit is contained in:
parent
1a14e80d37
commit
890d523543
1 changed files with 40 additions and 31 deletions
|
@ -343,9 +343,11 @@ gitclone
|
|||
# startup
|
||||
cp /opt/${repo}/startup /usr/bin/
|
||||
chmod 755 /usr/bin/startup
|
||||
if ! [ "${version}" == "libre-xfce4-openrc" ]; then
|
||||
cp /opt/${repo}/startup.service /etc/systemd/system/
|
||||
chmod 644 /etc/systemd/system/startup.service
|
||||
systemctl enable startup.service
|
||||
fi
|
||||
|
||||
# pacman-config
|
||||
if [ "${version%-*-*}" == "libre" ]; then
|
||||
|
@ -446,14 +448,18 @@ then
|
|||
echo "[Service]" > /etc/systemd/system/getty\@tty1.service.d/autologin.conf
|
||||
echo "ExecStart=" >> /etc/systemd/system/getty\@tty1.service.d/autologin.conf
|
||||
echo "ExecStart=-/usr/bin/agetty --autologin root -s %I 115200,38400,9600 vt102" >> /etc/systemd/system/getty\@tty1.service.d/autologin.conf
|
||||
if ! [ "${version}" == "libre-xfce4-openrc" ]; then
|
||||
systemctl enable getty@tty1
|
||||
fi
|
||||
else
|
||||
mkdir -p /etc/systemd/system/getty\@tty1.service.d
|
||||
echo "[Service]" > /etc/systemd/system/getty\@tty1.service.d/autologin.conf
|
||||
echo "ExecStart=" >> /etc/systemd/system/getty\@tty1.service.d/autologin.conf
|
||||
echo "ExecStart=-/usr/bin/agetty --autologin $username -s %I 115200,38400,9600 vt102" >> /etc/systemd/system/getty\@tty1.service.d/autologin.conf
|
||||
if ! [ "${version}" == "libre-xfce4-openrc" ]; then
|
||||
systemctl enable getty@tty1
|
||||
fi
|
||||
fi
|
||||
|
||||
elif [ "$start" == "xdm" ]
|
||||
then
|
||||
|
@ -468,6 +474,7 @@ else
|
|||
echo "Kein Start gewählt!!!"
|
||||
fi
|
||||
|
||||
if ! [ "${version}" == "libre-xfce4-openrc" ]; then
|
||||
systemctl enable acpid
|
||||
systemctl enable ntpd
|
||||
systemctl enable avahi-daemon
|
||||
|
@ -488,6 +495,7 @@ systemctl disable dhcpcd
|
|||
systemctl enable NetworkManager.service
|
||||
systemctl enable bluetooth.service
|
||||
systemctl enable httpd
|
||||
fi
|
||||
|
||||
# set systemconfiguration
|
||||
echo "systemconfiguration"
|
||||
|
@ -628,8 +636,9 @@ if [ -f /etc/systemd/system/x11vnc.service ]; then
|
|||
fi
|
||||
cp /opt/${repo}/x11vnc.service /etc/systemd/system/x11vnc.service
|
||||
chmod 644 /etc/systemd/system/x11vnc.service
|
||||
if ! [ "${version}" == "libre-xfce4-openrc" ]; then
|
||||
systemctl enable x11vnc.service
|
||||
|
||||
fi
|
||||
# .Conky
|
||||
compress restore /opt/${repo}/.Conky.tar.pxz /opt/
|
||||
chmod 755 -Rv /opt/.Conky/
|
||||
|
|
Loading…
Reference in a new issue