Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
82918dfb
Commit
82918dfb
authored
Feb 07, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tune_new_system.sh: improvements
parent
84dd1f68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
tune_new_system.sh
etersoft/tune_new_system.sh
+14
-0
No files found.
etersoft/tune_new_system.sh
View file @
82918dfb
...
...
@@ -8,6 +8,13 @@ fatal()
# Скрипт для настройки новых машин по нашим правилам
# TODO
#if ! subst
#subst()
#{
# sed -i -e "$@"
#}
# TODO: исключение для ARM
#if grep -q ftp.altlinux.org /etc/apt/sources.list.d/alt.list ; then
if
[
!
-r
/etc/apt/sources.list.d/etersoft.list
]
;
then
...
...
@@ -60,6 +67,8 @@ fi
epmi libnss-role etersoft-ca-root
||
fatal
echo
"scanner"
>>
/etc/sane.d/net.conf
# etersoft-desktop-essential-office
#/srv/lav/Projects/git-eter/etersoft-admin-essential/dc-client/tune_sssd.sh lavadmin
...
...
@@ -86,6 +95,11 @@ subst "s|# GSSAPIDelegateCredentials yes| GSSAPIDelegateCredentials yes|" /
# TODO: тонкости. seat? (eterbug #12145)
#serv lightdm off
#serv dm on
conf
=
"/etc/sysconfig/xserver"
sed
-i
-e
's/NOLISTEN=tcp.*/#NOLISTEN=tcp/'
$conf
conf2
=
"/etc/lightdm/lightdm.conf"
sed
-i
-e
's/#xserver-allow-tcp=false.*/xserver-allow-tcp=true/'
$conf2
# https://bugs.etersoft.ru/show_bug.cgi?id=12207
# use IP of dc.etersoft.ru, not ntp.etersoft.ru (public server)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment