committing changes in /etc made by "/bin/sh ./one-click-installer.sh"

Package changes:
This commit is contained in:
2021-11-20 01:41:38 +02:00
parent 3e5497327d
commit ba9309727b
17 changed files with 145 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ mkdir -p './dbus-1/session.d'
mkdir -p './dnf/aliases.d'
mkdir -p './dnf/modules.defaults.d'
mkdir -p './dnf/plugins/copr.d'
mkdir -p './egl/egl_external_platform.d'
mkdir -p './exports.d'
mkdir -p './fail2ban/fail2ban.d'
mkdir -p './firewalld/helpers'
@@ -28,7 +29,7 @@ mkdir -p './firewalld/icmptypes'
mkdir -p './firewalld/ipsets'
mkdir -p './firewalld/policies'
mkdir -p './firewalld/services'
mkdir -p './glvnd'
mkdir -p './glvnd/egl_vendor.d'
mkdir -p './gnupg'
mkdir -p './groff/site-font'
mkdir -p './incron.d'
@@ -98,6 +99,7 @@ mkdir -p './systemd/system/php-fpm.service.d'
mkdir -p './terminfo'
mkdir -p './tuned/recommend.d'
mkdir -p './udev/hwdb.d'
mkdir -p './xdg/QtProject'
maybe chmod 0755 '.'
maybe chmod 0700 '.etckeeper'
maybe chmod 0640 '.gitignore'
@@ -144,6 +146,7 @@ maybe chmod 0755 'X11/applnk'
maybe chmod 0755 'X11/fontpath.d'
maybe chmod 0755 'X11/xinit'
maybe chmod 0755 'X11/xinit/xinitrc.d'
maybe chmod 0755 'X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh'
maybe chmod 0755 'X11/xinit/xinitrc.d/50-systemd-user.sh'
maybe chmod 0755 'X11/xorg.conf.d'
maybe chmod 0600 'aide.conf'
@@ -613,6 +616,8 @@ maybe chmod 0640 'dovecot/trash.conf'
maybe chmod 0644 'dracut.conf'
maybe chmod 0755 'dracut.conf.d'
maybe chmod 0644 'dracut.conf.d/40-fips.conf'
maybe chmod 0755 'egl'
maybe chmod 0755 'egl/egl_external_platform.d'
maybe chmod 0644 'environment'
maybe chmod 0755 'environment-modules'
maybe chmod 0644 'environment-modules/initrc'
@@ -869,6 +874,7 @@ maybe chmod 0644 'gdbinit.d/golang.gdb'
maybe chmod 0755 'glances'
maybe chmod 0644 'glances/glances.conf'
maybe chmod 0755 'glvnd'
maybe chmod 0755 'glvnd/egl_vendor.d'
maybe chmod 0755 'gnupg'
maybe chmod 0640 'grc.conf'
maybe chmod 0640 'grc.fish'
@@ -4479,6 +4485,7 @@ maybe chmod 0755 'qemu-kvm'
maybe chmod 0755 'rc.d'
maybe chmod 0755 'rc.d/init.d'
maybe chmod 0644 'rc.d/init.d/README'
maybe chmod 0755 'rc.d/init.d/bestcrypt'
maybe chmod 0644 'rc.d/init.d/functions'
maybe chmod 0755 'rc.d/init.d/network'
maybe chmod 0755 'rc.d/init.d/rundeckd'
@@ -5043,6 +5050,7 @@ maybe chmod 0644 'udev/rules.d/70-persistent-ipoib.rules'
maybe chmod 0644 'udev/rules.d/70-snap.snapd.rules'
maybe chmod 0644 'udev/rules.d/75-cd-aliases-generator.rules'
maybe chmod 0644 'udev/rules.d/75-persistent-net-generator.rules'
maybe chmod 0644 'udev/rules.d/90-bcrypt-device-permissions.rules'
maybe chmod 0644 'udev/udev.conf'
maybe chmod 0755 'unbound'
maybe chmod 0644 'unbound/icannbundle.pem'
@@ -5093,8 +5101,12 @@ maybe chmod 0700 'wireguard'
maybe chmod 0644 'wireguard/wg0.conf'
maybe chmod 0644 'xattr.conf'
maybe chmod 0755 'xdg'
maybe chmod 0755 'xdg/QtProject'
maybe chmod 0755 'xdg/autostart'
maybe chmod 0644 'xdg/autostart/bestcrypt-panel.desktop'
maybe chmod 0644 'xdg/autostart/snap-userd-autostart.desktop'
maybe chmod 0755 'xdg/qtchooser'
maybe chmod 0644 'xdg/qtchooser/5-64.conf'
maybe chmod 0755 'xdg/systemd'
maybe chmod 0600 'xinetd.conf'
maybe chmod 0755 'xinetd.d'

View File

@@ -0,0 +1,14 @@
#!/bin/bash
if [ -z "$QT_XCB_FORCE_SOFTWARE_OPENGL" ]; then
QT5_CHECK_OPENGL_VERSION=`LANG=C glxinfo 2> /dev/null | grep '^OpenGL version string: ' | head -n 1 | sed -e 's/^OpenGL version string: \([0-9]\).*$/\1/g'` ||:
if [ "$QT5_CHECK_OPENGL_VERSION" == "1" ]; then
QT_XCB_FORCE_SOFTWARE_OPENGL=1
export QT_XCB_FORCE_SOFTWARE_OPENGL
fi
unset QT5_CHECK_OPENGL_VERSION
fi

1
alternatives/qtchooser-5 Symbolic link
View File

@@ -0,0 +1 @@
/etc/xdg/qtchooser/5-64.conf

View File

@@ -0,0 +1 @@
/etc/xdg/qtchooser/5.conf

93
rc.d/init.d/bestcrypt Executable file
View File

@@ -0,0 +1,93 @@
#!/bin/sh
# Copyright 2010-2016 Jetico Inc. Oy
# All rights reserved.
# chkconfig: 345 99 01
# description: BestCrypt for Linux
#
### BEGIN INIT INFO
# Provides: bestcrypt
# Required-Start: dkms
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: BestCrypt for Linux
# Description: BestCrypt for Linux
### END INIT INFO
KERNEL_VERSION=`uname -r|sed 's/\(.\..\).*/\1/'`
case "$1" in
start)
echo "Starting BestCrypt..."
rm -rf /dev/bcrypt?* 2>/dev/null
depmod -a
modprobe bestcrypt
modprobe bc_blowfish
modprobe bc_des
modprobe bc_gost
modprobe bc_camellia
modprobe bc_twofish
modprobe bc_bf448
modprobe bc_bf128
modprobe bc_3des
modprobe bc_idea
modprobe bc_rijn
modprobe bc_cast
modprobe bc_serpent
modprobe bc_rc6
#modprobe bc_noop
echo "Started."
;;
stop)
echo "Stopping BestCrypt..."
if bctool is_guard_on ; then
echo "on" > "$HOME"/.config/Jetico/guard_status
else
echo "off" > "$HOME"/.config/Jetico/guard_status
fi
bctool umountall
for i in `lsmod | egrep "^\"?bc_.*\"?" | awk '{print $1}' `; do
rmmod $i;
done
rmmod bestcrypt
echo "Stopped."
;;
status)
if [ -f /sys/class/misc/bestcrypt ] ; then
echo "BestCrypt driver is loaded. List of loaded algorithms:\n"
ls /sys/class/misc/bectcrypt/plugins
else
echo "SysFS entry unavailable, possibly driver is not running."
fi
if bctool is_guard_on ; then
echo "BestCrypt container file guard is on"
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit 0

1
rc.d/rc0.d/K01bestcrypt Symbolic link
View File

@@ -0,0 +1 @@
../init.d/bestcrypt

1
rc.d/rc1.d/K01bestcrypt Symbolic link
View File

@@ -0,0 +1 @@
../init.d/bestcrypt

1
rc.d/rc2.d/S99bestcrypt Symbolic link
View File

@@ -0,0 +1 @@
../init.d/bestcrypt

1
rc.d/rc3.d/S99bestcrypt Symbolic link
View File

@@ -0,0 +1 @@
../init.d/bestcrypt

1
rc.d/rc4.d/S99bestcrypt Symbolic link
View File

@@ -0,0 +1 @@
../init.d/bestcrypt

1
rc.d/rc5.d/S99bestcrypt Symbolic link
View File

@@ -0,0 +1 @@
../init.d/bestcrypt

1
rc.d/rc6.d/K01bestcrypt Symbolic link
View File

@@ -0,0 +1 @@
../init.d/bestcrypt

View File

@@ -0,0 +1,2 @@
KERNEL=="bcrypt*", MODE="0666", ENV{UDISKS_PRESENTATION_NOPOLICY}="1"
KERNEL=="bestcrypt", MODE="0755"

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Name=BestCrypt Control Panel
Comment=Create or mount encrypted containers.
Icon=application-x-bestcrypt
Exec=/usr/bin/bestcrypt-panel --minimized
Terminal=false
Type=Application
Categories=Utility
MimeType=application/x-bestcrypt-container

2
xdg/qtchooser/5-64.conf Normal file
View File

@@ -0,0 +1,2 @@
/usr/lib64/qt5/bin
/usr

1
xdg/qtchooser/5.conf Symbolic link
View File

@@ -0,0 +1 @@
/etc/alternatives/qtchooser-5

1
xdg/qtchooser/default.conf Symbolic link
View File

@@ -0,0 +1 @@
/etc/alternatives/qtchooser-default