mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:07:13 +08:00
enable some services in the Live env
This commit is contained in:
parent
eea2f6e63a
commit
136b50fdaa
@ -1,18 +1,18 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
# Chakra Packages for Chakra, part of chakraos.org
|
||||
#
|
||||
# maintainer: abveritas[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=chakra-init-live
|
||||
pkgver=2014.05
|
||||
pkgver=2016.02
|
||||
pkgrel=1
|
||||
pkgdesc="Live-session systemd startup scripts"
|
||||
arch=('x86_64')
|
||||
url="http://www.chakra-project.org"
|
||||
url="https://chakraos.org"
|
||||
license=('GPL2')
|
||||
install=$pkgname.install
|
||||
source=('live' 'locale_setup.sh')
|
||||
md5sums=('e757dbe814a219709d616c146a7c26a9'
|
||||
'218097308f707682a1d208dd6ce080fd')
|
||||
'a6f4d7fc3b1365eb5274afa7177b2cd9')
|
||||
|
||||
package() {
|
||||
cd ${srcdir}
|
||||
|
15
chakra-init-live/chakra-init-live.install
Normal file
15
chakra-init-live/chakra-init-live.install
Normal file
@ -0,0 +1,15 @@
|
||||
post_install() {
|
||||
echo "Enabling systemd services"
|
||||
systemctl enable upower.service
|
||||
systemctl enable udisks.service
|
||||
systemctl enable avahi-daemon.service
|
||||
systemctl enable NetworkManager.service
|
||||
systemctl enable sddm.service
|
||||
systemctl enable ntpd.service
|
||||
systemctl enable bluetooth.service
|
||||
systemctl enable org.cups.cupsd
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
@ -38,7 +38,7 @@ set_locale() {
|
||||
local KBLAYOUT=$(get_layout)
|
||||
|
||||
# set a default value, in case something goes wrong, or a language doesn't have
|
||||
# good defult settings
|
||||
# good default settings
|
||||
[ -n "$LOCALE" ] || LOCALE="en_US"
|
||||
[ -n "$KEYMAP" ] || KEYMAP="us"
|
||||
[ -n "$KBLAYOUT" ] || KBLAYOUT="us"
|
||||
|
Loading…
Reference in New Issue
Block a user