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
72b2878b
Commit
72b2878b
authored
Nov 22, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tune_new_system.sh: update script
parent
072bb644
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
tune_new_system.sh
etersoft/tune_new_system.sh
+11
-2
No files found.
etersoft/tune_new_system.sh
View file @
72b2878b
...
...
@@ -9,7 +9,9 @@ if [ ! -r /etc/apt/sources.list.d/etersoft.list ] ; then
fi
echo
-n
"Checking for epm ... "
if
!
which epm
;
then
if
which epm
;
then
epm update
else
apt-get update
apt-get
install
eepm
||
exit
echo
OK
...
...
@@ -29,6 +31,7 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKpX0yMvZS1r4mfEaeN4rjMlPPbtV3vdsLvV++wcajyx
EOF
fi
# TODO: нужен или нет для cups?
#epm -q avahi-daemon >/dev/null && epm remove avahi-daemon
...
...
@@ -47,6 +50,8 @@ if ! epm rl | grep -q "LINUX@Etersoft" ; then
epm update
fi
epmi libnss-role etersoft-ca-root
# etersoft-desktop-essential-office
#/srv/lav/Projects/git-eter/etersoft-admin-essential/dc-client/tune_sssd.sh lavadmin
...
...
@@ -74,8 +79,12 @@ subst "s|# GSSAPIDelegateCredentials yes| GSSAPIDelegateCredentials yes|" /
#serv dm on
# https://bugs.etersoft.ru/show_bug.cgi?id=12207
# use IP of dc.etersoft.ru, not ntp.etersoft.ru (public server)
epme
--auto
openntpd
epmi chrony
subst
"s|^
\(
pool pool.ntp.*
\)
|server ntp.etersoft.ru iburst
\n
#
\1
|"
/etc/chrony.conf
subst
"s|^
\(
pool pool.ntp.*
\)
|server 10.20.30.20 iburst
\n
#
\1
|"
/etc/chrony.conf
subst
"s|^server ntp.etersoft.ru iburst|server 10.20.30.20 iburst|"
/etc/chrony.conf
serv chronyd on
# TODO: выключение NetworkManager для интерфейса
...
...
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