OSDN Git Service

remove service
authorpaperbenni <paperbenni@gmail.com>
Mon, 11 May 2020 17:51:14 +0000 (19:51 +0200)
committerpaperbenni <paperbenni@gmail.com>
Mon, 11 May 2020 17:51:14 +0000 (19:51 +0200)
chroot/chroot.sh
data/instantarch.service [deleted file]
postinstall.sh

index bd1af5c..10d0e3a 100755 (executable)
@@ -11,15 +11,9 @@ fi
 # fix gui not showing up
 sed -i 's/^#logind-check-graphical=.*/logind-check-graphical=true/' /etc/lightdm/lightdm.conf
 
-[ -e /etc/systemd/system ] || mkdir -p /etc/systemd/system
-cp /root/instantARCH/data/instantarch.service /etc/systemd/system/instantarch.service
-
 # needed to get internet to work
 systemctl enable lightdm
 systemctl enable NetworkManager
-systemctl enable instantarch
-
-systemctl start instantarch
 
 # enable swap
 systemctl enable systemd-swap
diff --git a/data/instantarch.service b/data/instantarch.service
deleted file mode 100644 (file)
index 7f849f0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Post installation script for instantOS
-
-[Service]
-Type=simple
-ExecStart=/bin/bash /root/instantARCH/postinstall.sh
-
-[Install]
index d61dae2..5b6d504 100644 (file)
@@ -4,13 +4,6 @@
 
 cd /root/instantARCH
 
-# wait for xsession to start
-while ! pgrep lightdm; do
-    sleep 10
-done
-
 bash ./lang/xorg.sh
 sleep 1
 bash ./lang/locale.sh
-
-systemctl disable instantarch