OSDN Git Service

[update] : Added autostart lightdm.
authorhayao <shun819.mail@gmail.com>
Sat, 23 May 2020 14:55:59 +0000 (23:55 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 23 May 2020 14:55:59 +0000 (23:55 +0900)
channels/lxde/airootfs.i686/root/customize_airootfs_lxde.sh
channels/lxde/airootfs.x86_64/root/customize_airootfs_lxde.sh
channels/xfce/airootfs.i686/root/customize_airootfs_xfce.sh
channels/xfce/airootfs.x86_64/root/customize_airootfs_xfce.sh

index f493c16..fd64ab7 100755 (executable)
@@ -98,4 +98,12 @@ if [[ "${japanese}" = true ]]; then
 else
     remove /etc/skel/Desktop/welcome-to-alter-jp.desktop
     remove /home/${username}/Desktop/welcome-to-alter-jp.desktop
-fi
\ No newline at end of file
+fi
+
+
+# Enable LightDM to auto login
+if [[ "${boot_splash}" =  true ]]; then
+    systemctl enable lightdm.service
+else
+    systemctl enable lightdm-plymouth.service
+fi
index 0330886..f57d9cc 100755 (executable)
@@ -105,4 +105,12 @@ if [[ "${japanese}" = true ]]; then
 else
     remove /etc/skel/Desktop/welcome-to-alter-jp.desktop
     remove /home/${username}/Desktop/welcome-to-alter-jp.desktop
-fi
\ No newline at end of file
+fi
+
+
+# Enable LightDM to auto login
+if [[ "${boot_splash}" =  true ]]; then
+    systemctl enable lightdm.service
+else
+    systemctl enable lightdm-plymouth.service
+fi
index 94397c4..bc8eec5 100755 (executable)
@@ -93,4 +93,12 @@ dconf update
 
 
 # firewalld
-systemctl enable firewalld.service
\ No newline at end of file
+systemctl enable firewalld.service
+
+
+# Enable LightDM to auto login
+if [[ "${boot_splash}" =  true ]]; then
+    systemctl enable lightdm.service
+else
+    systemctl enable lightdm-plymouth.service
+fi
index 200305d..da80062 100755 (executable)
@@ -100,3 +100,10 @@ else
     remove /etc/skel/Desktop/welcome-to-alter-jp.desktop
     remove /home/${username}/Desktop/welcome-to-alter-jp.desktop
 fi
+
+# Enable LightDM to auto login
+if [[ "${boot_splash}" =  true ]]; then
+    systemctl enable lightdm.service
+else
+    systemctl enable lightdm-plymouth.service
+fi