malfs mekanizma guncelleme

This commit is contained in:
shamil 2016-02-26 04:41:17 +02:00
parent 2645a69a6d
commit 08fe7f8ad3
5 changed files with 25 additions and 4 deletions

View File

@ -48,6 +48,15 @@ etc/sysconfig/
etc/rc.d/ etc/rc.d/
etc/init.d/ etc/init.d/
etc/pam.d/ etc/pam.d/
etc/rc.d/rcS.d/
etc/rc.d/rc1.d/
etc/rc.d/rc5.d/
etc/rc.d/rc3.d/
etc/rc.d/rc6.d/
etc/rc.d/rc2.d/
etc/rc.d/rc4.d/
etc/rc.d/rc0.d/
etc/rc.d/init.d/
home/ home/
usr/ usr/
mnt/ mnt/
@ -89,3 +98,4 @@ var/lib/
var/run/ var/run/
var/spool/ var/spool/
var/cache/ var/cache/
var/lib/pkg/drivers/

View File

@ -48,6 +48,15 @@ etc/sysconfig/
etc/rc.d/ etc/rc.d/
etc/init.d/ etc/init.d/
etc/pam.d/ etc/pam.d/
etc/rc.d/rcS.d/
etc/rc.d/rc1.d/
etc/rc.d/rc5.d/
etc/rc.d/rc3.d/
etc/rc.d/rc6.d/
etc/rc.d/rc2.d/
etc/rc.d/rc4.d/
etc/rc.d/rc0.d/
etc/rc.d/init.d/
home/ home/
usr/ usr/
mnt/ mnt/
@ -89,3 +98,4 @@ var/lib/
var/run/ var/run/
var/spool/ var/spool/
var/cache/ var/cache/
var/lib/pkg/drivers/

View File

@ -13,7 +13,7 @@ icerik_ekle(){
paketad=`echo "$1" | cut -d'#' -f1` paketad=`echo "$1" | cut -d'#' -f1`
paketad=`basename $paketad` paketad=`basename $paketad`
echo $paketad" paketi kuruluyor." echo $paketad" paketi kuruluyor."
tar -C /tmp --extract --file=$1 .PRE > /tmp/$paketad_pre.log tar -C /tmp --extract --file=$1 .PRE 1 2> /tmp/$paketad_pre.log
#kos-kur kontrolu #kos-kur kontrolu
if [ -f /tmp/.PRE ];then if [ -f /tmp/.PRE ];then
bash /tmp/.PRE bash /tmp/.PRE
@ -71,9 +71,9 @@ paket_sil(){
if [ "$sil_onay" = "e" ];then if [ "$sil_onay" = "e" ];then
xargs rm -r -f < /tmp/$paket.sil && xargs rm -r -f < /tmp/$paket.sil &&
rm -r -f /var/lib/pkg/DB/"$paket" && rm -r -f /var/lib/pkg/DB/"$paket" &&
rm -f /tmp/$paket.sil
echo $paket" paketi silindi." echo $paket" paketi silindi."
fi fi
rm -f /tmp/$paket.sil
else else
echo "paket zaten kurulu değil!" echo "paket zaten kurulu değil!"
fi fi

View File

@ -5,4 +5,5 @@ if [ -f etc/ssl/ca-bundle.crt ]; then
fi fi
if ! ( grep ssl /etc/dokunulmaz > /dev/null);then if ! ( grep ssl /etc/dokunulmaz > /dev/null);then
echo "etc/ssl" >> /etc/dokunulmaz echo "etc/ssl" >> /etc/dokunulmaz
echo "etc/ssl/certs" >> /etc/dokunulmaz
fi fi

View File

@ -1,5 +1,5 @@
if [ ! -f etc/rsyncd.conf ]; then if [ ! -f /etc/rsyncd.conf ]; then
cat > etc/rsyncd.conf << "EOF" cat > /etc/rsyncd.conf << "EOF"
# use chroot = yes # use chroot = yes
# [site] # [site]
# path = /home/saravane/nutyx.org # path = /home/saravane/nutyx.org