Skip to content

Commit

Permalink
Обновление от 20211108
Browse files Browse the repository at this point in the history
  • Loading branch information
ksandr committed Nov 8, 2021
1 parent 8baf1ad commit 3bdaa7c
Show file tree
Hide file tree
Showing 33 changed files with 20,126 additions and 59 deletions.
3 changes: 3 additions & 0 deletions airootfs/etc/systemd/resolved.conf.d/adguardhome.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[Resolve]
DNS=127.0.0.1
DNSStubListener=no
45 changes: 15 additions & 30 deletions airootfs/root/customize_airootfs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
echo "############################################################"
echo "# Starting customize_airootfs.sh"
echo "############################################################"
echo "####################################"
echo " # Starting customize_airootfs.sh #"
echo "####################################"

# Error management of set command
echo "Set command error management"
Expand All @@ -12,9 +12,10 @@ echo "Locale settings"
sed -i 's/#\(ru_RU\.UTF-8\)/\1/' /etc/locale.gen
locale-gen
echo "LANG=ru_RU.UTF-8" > /etc/locale.conf
echo "KEYMAP=ru" > /etc/vconsole.conf
echo "KEYMAP=ruwin_alt-UTF-8" > /etc/vconsole.conf # KEYMAP=ruwin_alt-UTF-8
echo "FONT=cyr-sun16" > /etc/vconsole.conf


# Timezone
echo "Timezone"
ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime
Expand Down Expand Up @@ -45,7 +46,9 @@ chmod 700 -v /root
echo "Create user archi"
# useradd --create-home --shell /bin/zsh archi
mkdir /home/archi
cp -aT /skel/ /home/archi/
cp -aT /skel/ /home/archi/

ln -sf /home/archi/Downloads /home/archi/Загрузки

echo "[Desktop Entry]
Version=1.0
Expand All @@ -57,46 +60,28 @@ Icon=archlinux-logo
Path=
Terminal=false
StartupNotify=false
" > '/home/archi/Desktop/Установка Arch Linux.desktop'
" > '/home/archi/Desktop/install.desktop'

chown archi:users -R /home/archi
chmod 755 /home/archi
chmod +x -v /home/archi/Desktop/*.desktop

# Configure SSH
# sed -i 's/#\(PermitRootLogin \).\+/\1yes/' /etc/ssh/sshd_config

# Configure Pacman
# echo "pacman config"
# sed -i 's/#\[multilib]/\[multilib]/g' /etc/pacman.conf
# sed -i '/^#\[multilib]/{N;s/\n#/\n/}' /etc/pacman.conf
# sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist

# Configure logging
# echo "Logging config"
# sed -i 's/#\(Storage=\)auto/\1volatile/' /etc/systemd/journald.conf

# Fix the hibernate function
# echo "Fixing hibernate function"
# sed -i 's/#\(HandleSuspendKey=\)suspend/\1ignore/' /etc/systemd/logind.conf
# sed -i 's/#\(HandleHibernateKey=\)hibernate/\1ignore/' /etc/systemd/logind.conf
# sed -i 's/#\(HandleLidSwitch=\)suspend/\1ignore/' /etc/systemd/logind.conf

chmod +x -v /var/lib/adguardhome/AdGuardHome
# chmod +x -v /var/lib/adguardhome/AdGuardHome
/var/lib/adguardhome/AdGuardHome -s install

chmod +x -Rv /opt/assistant/
# chmod +x -Rv /opt/assistant/

chmod +x -Rv /root/Desktop/

# Services
echo "Systemd services"
systemctl enable systemd-resolved.service
systemctl enable NetworkManager.service
systemctl enable AdGuardHome.service

systemctl enable avahi-daemon.service
systemctl enable xvnc.socket

echo "############################################################"
echo "# customize_airootfs.sh Done"
echo "############################################################"
echo "################################"
echo " # customize_airootfs.sh Done #"
echo "################################"
65 changes: 65 additions & 0 deletions airootfs/skel/.config/assistant/assistant.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[SETTINGS]
Main.CloseButtonOperation=0
Main.Autorun=0
Main.HideInTray=1
Main.CheckUpdates=0
Security.DynPassKind=0
Security.PassLifetime=0
Security.FixPass=
Security.AccessKind=0
Security.UseLocalSecuritySettings=1
Security.Uncontrolled_Access=0
Security.EmailOnConnect=
Security.DenyWinLockOnDisconnect=0
AccessRules.DeviceLink=0
AccessRules.DesktopManagement=0
AccessRules.FileExchange=0
AccessRules.CMDLine=0
AccessRules.PowerManagement=0
AccessRules.ApplicationExecuting=0
AccessRules.DeviceGetInfo=0
AccessRules.CanElevateFileMan=0
AccessRules.CanUseSystemAccount=0
tmpUserAccessRules.DeviceLink=0
tmpUserAccessRules.DesktopManagement=0
tmpUserAccessRules.FileExchange=0
tmpUserAccessRules.CMDLine=0
tmpUserAccessRules.PowerManagement=0
tmpUserAccessRules.ApplicationExecuting=0
tmpUserAccessRules.DeviceGetInfo=0
tmpUserAccessRules.CanElevateFileMan=0
tmpUserAccessRules.CanUseSystemAccount=0
RemoteControl.MaxCmdRunTime=2
RemoteControl.DontCheckBigFiles=1
RemoteControl.BigFileSize=2000
RemoteControl.AutoRunDesktop=1
Main.LogsLifetime=30
RemoteControl.DontCompareFilesByContent=0
RemoteControl.DisplayName_DevName=1
RemoteControl.DisplayName_Hwid=1
RemoteControl.DisplayName_OSUserName=0
Net.ID_addr=https://id.xn--80akicokc0aablc.xn--p1ai
Net.ID_port=44335
Net.ServerVerify=0
Net.ServerVerifyCA=0
Log.LocalRecVideo=0
Log.VideoSettings.VideoStoreFolder=/opt/assistant/video
Log.VideoSettings.FPS=4
Log.VideoSettings.PartLength=60
Log.VideoSettings.WaterMark=0
Log.ScreenshotStoreFolder=/opt/assistant/screenshot
Log.ServerStoreTechLog=0
ProxySettings.UseKind=0
ProxySettings.Server=
ProxySettings.Port=0
ProxySettings.User=
ProxySettings.Passw=
ProxySettings.StoreUserAndPassw=1
ProxySettings.StoredUser=
ProxySettings.StoredPassw=
Chat.SaveHistory=0
Chat.HistPath=
_your_id_=

[STORED_VALS]
Values.HHIST=
6 changes: 6 additions & 0 deletions airootfs/skel/.config/assistant/assistant_forms.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[fmTCMain]
fmTCMain_Left=0
fmTCMain_Top=250
fmTCMain_Width=600
fmTCMain_Height=580
fmTCMain_WindowState=wsNormal
18 changes: 18 additions & 0 deletions airootfs/skel/.config/assistant/ast_fs.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[TApplication.fmTCMain]
fmTCMain_Left=0
fmTCMain_Top=250
fmTCMain_Width=600
fmTCMain_Height=580
fmTCMain_WindowState=wsNormal

[TApplication.fmContainer]
fmContainer_Left=3
fmContainer_Top=404
fmContainer_Height=673

[TApplication.fmPipes]
fmPipes_Left=2472
fmPipes_Top=345
fmPipes_Height=534
fmPipes_Width=669
fmPipes_WindowState=wsNormal
3 changes: 3 additions & 0 deletions airootfs/skel/.config/audacious/QtUi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[General]
geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2;\0\0\x1)\0\0\x5\x44\0\0\x3&\0\0\x2@\0\0\x1\x42\0\0\x5?\0\0\x3!\0\0\0\0\0\0\0\0\a\x80\0\0\x2@\0\0\x1\x42\0\0\x5?\0\0\x3!)"
windowState=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\0\0\0\x3\0\0\0\x1\x8b\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x16\0M\0\x61\0i\0n\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
29 changes: 29 additions & 0 deletions airootfs/skel/.config/audacious/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

[audacious]
advance_on_delete=TRUE
chardet_detector=russian
generic_title_format=${title}
leading_zero=TRUE
net_buffer_kb=1024
output_buffer_size=10000
soft_clipping=TRUE

[audgui]
filesel_path=/home/archi/Desktop

[skins]
analyzer_falloff=0
analyzer_peaks=FALSE
equalizer_x=1205
equalizer_y=1195
player_x=1205
player_y=139
playlist_height=145
playlist_visible=TRUE
playlist_x=1205
playlist_y=255
skin=/usr/share/audacious/Skins/Winamp_Classic_CM.wsz
twoway_scroll=TRUE

[skins-layout]
albumart-qt=1485,467,288,192
Loading

0 comments on commit 3bdaa7c

Please sign in to comment.