Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/monara/public_html/test.athavaneng.com/themes.php on line 99

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230

Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
#!/bin/bash #=============================================================================== # # FILE: selinux-policy-migrate-local-changes.sh # # USAGE: ./selinux-policy-migrate-local-changes.sh # # DESCRIPTION: This script migrates local changes from pre-2.4 SELinux modules # store structure to the new structure # # AUTHOR: Petr Lautrbach #=============================================================================== if [ ! -f /etc/selinux/config ]; then SELINUXTYPE=none else source /etc/selinux/config fi REBUILD=0 MIGRATE_SELINUXTYPE=$1 for local in booleans.local file_contexts.local ports.local users_extra.local users.local; do if [ -e /etc/selinux/$MIGRATE_SELINUXTYPE/modules/active/$local ]; then REBUILD=1 cp -v --preserve=mode,ownership,timestamps,links /etc/selinux/$MIGRATE_SELINUXTYPE/modules/active/$local /etc/selinux/$MIGRATE_SELINUXTYPE/active/$local fi done if [ -e /etc/selinux/$MIGRATE_SELINUXTYPE/modules/active/seusers ]; then REBUILD=1 cp -v --preserve=mode,ownership,timestamps,links /etc/selinux/$MIGRATE_SELINUXTYPE/modules/active/seusers /etc/selinux/$MIGRATE_SELINUXTYPE/active/seusers.local fi INSTALL_MODULES="" for i in `find /etc/selinux/$MIGRATE_SELINUXTYPE/modules/active/modules/ -name \*disabled 2> /dev/null`; do module=`basename $i | sed 's/\.pp\.disabled$//'` if [ $module == "pkcsslotd" ] || [ $module == "vbetool" ] || [ $module == "ctdbd" ] || [ $module == "docker" ] || [ $module == "gear" ]; then continue fi if [ -d /etc/selinux/$MIGRATE_SELINUXTYPE/active/modules/100/$module ]; then touch /etc/selinux/$MIGRATE_SELINUXTYPE/active/modules/disabled/$module fi done for i in `find /etc/selinux/$MIGRATE_SELINUXTYPE/modules/active/modules/ -name \*.pp 2> /dev/null`; do module=`basename $i | sed 's/\.pp$//'` if [ $module == "audioentropy" ] || [ $module == "pkcsslotd" ] || [ $module == "vbetool" ] || [ $module == "ctdbd" ] || [ $module == "docker" ] || [ $module == "gear" ]; then continue fi if [ ! -d /etc/selinux/$MIGRATE_SELINUXTYPE/active/modules/100/$module ]; then INSTALL_MODULES="${INSTALL_MODULES} $i" fi done if [ -n "$INSTALL_MODULES" ]; then semodule -s $MIGRATE_SELINUXTYPE -n -X 400 -i $INSTALL_MODULES REBUILD=1 fi cat > /etc/selinux/$MIGRATE_SELINUXTYPE/modules/active/README.migrated <