OSDN Git Service

enable runit services
authorpaperbenni <paperbenni@gmail.com>
Fri, 26 Jun 2020 23:24:22 +0000 (01:24 +0200)
committerpaperbenni <paperbenni@gmail.com>
Fri, 26 Jun 2020 23:24:22 +0000 (01:24 +0200)
artix/postinstall.sh
lang/locale.sh

index e4c4595..cdea21a 100755 (executable)
@@ -9,4 +9,8 @@ if command -v systemctl; then
 fi
 
 sed -i '/Optional TrustAll/d' /etc/pacman.conf
-sleep 1
\ No newline at end of file
+sleep 1
+
+# enable services
+ln -s /etc/runit/sv/NetworkManager /run/runit/service
+ln -s /etc/runit/sv/lightdm /run/runit/service
index 77d436a..98f50b4 100755 (executable)
@@ -15,5 +15,9 @@ if ! [ -e /usr/bin/liveutils ]; then
     echo "setting localectl locale to $SETLOCALE"
     if command -v localectl; then
         localectl set-locale LANG="$SETLOCALE"
+    else
+        echo "artix locale configuration"
+        echo 'export LANG="'"$SETLOCALE"'"' >/etc/locale.conf
+        echo 'export LC_COLLATE="C"' >>/etc/locale.conf
     fi
 fi