committing changes in /etc made by "-bash"
Package changes:
This commit is contained in:
@@ -4479,7 +4479,6 @@ maybe chmod 0755 'qemu-kvm'
|
|||||||
maybe chmod 0755 'rc.d'
|
maybe chmod 0755 'rc.d'
|
||||||
maybe chmod 0755 'rc.d/init.d'
|
maybe chmod 0755 'rc.d/init.d'
|
||||||
maybe chmod 0644 'rc.d/init.d/README'
|
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 0644 'rc.d/init.d/functions'
|
||||||
maybe chmod 0755 'rc.d/init.d/network'
|
maybe chmod 0755 'rc.d/init.d/network'
|
||||||
maybe chmod 0755 'rc.d/init.d/rundeckd'
|
maybe chmod 0755 'rc.d/init.d/rundeckd'
|
||||||
@@ -5044,7 +5043,6 @@ 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/70-snap.snapd.rules'
|
||||||
maybe chmod 0644 'udev/rules.d/75-cd-aliases-generator.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/75-persistent-net-generator.rules'
|
||||||
maybe chmod 0644 'udev/rules.d/90-bcrypt-device-permissions.rules'
|
|
||||||
maybe chmod 0644 'udev/udev.conf'
|
maybe chmod 0644 'udev/udev.conf'
|
||||||
maybe chmod 0755 'unbound'
|
maybe chmod 0755 'unbound'
|
||||||
maybe chmod 0644 'unbound/icannbundle.pem'
|
maybe chmod 0644 'unbound/icannbundle.pem'
|
||||||
|
|||||||
@@ -1,93 +0,0 @@
|
|||||||
#!/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 +0,0 @@
|
|||||||
../init.d/bestcrypt
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../init.d/bestcrypt
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../init.d/bestcrypt
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../init.d/bestcrypt
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../init.d/bestcrypt
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../init.d/bestcrypt
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../init.d/bestcrypt
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
KERNEL=="bcrypt*", MODE="0666", ENV{UDISKS_PRESENTATION_NOPOLICY}="1"
|
|
||||||
KERNEL=="bestcrypt", MODE="0755"
|
|
||||||
Reference in New Issue
Block a user