This commit is contained in:
6543 2018-03-26 14:53:48 +02:00
parent 479ed25411
commit c52b58b9f5

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
#@version 1.8.0 #@version 1.8.1
#@autor Martin.Huber@obermui.de #@autor Martin.Huber@obermui.de
#@date 2017-07-04 #@date 2017-07-04


@ -278,8 +278,9 @@ function main_update_pxe() {


# 5. Manuelle Aktionen - deaktiviert # 5. Manuelle Aktionen - deaktiviert


#echo "Now You Have TIME to do something MANUALY!" echo "Now You Have TIME to do something MANUALY!"
#echo "enter in shell: #> chroot $chroot_path /bin/bash" #echo "enter in shell:
chroot $chroot_path /bin/bash
#echo "Are You Finisch? Then Press [ENTER]" #echo "Are You Finisch? Then Press [ENTER]"
#read #read


@ -1619,8 +1620,7 @@ function os_update_desinfect2017() {
echo "Sophos..." echo "Sophos..."
#chroot "$chroot_dir" /bin/bash --login -c "/opt/sophos-av/bin/savupdate -v3" #chroot "$chroot_dir" /bin/bash --login -c "/opt/sophos-av/bin/savupdate -v3"
chroot_sh "$chroot_dir" "/opt/sophos-av/bin/savupdate -v3" chroot_sh "$chroot_dir" "/opt/sophos-av/bin/savupdate -v3"
echo "sleep 10s and do it again" && sleep 10s chroot_sh "$chroot_dir" "/opt/sophos-av/bin/savdstatus --version"
chroot_sh "$chroot_dir" "/opt/sophos-av/bin/savupdate -v3"
#chroot "$chroot_dir" /bin/bash -c "/opt/sophos-av/bin/savupdate -v3 -a" #chroot "$chroot_dir" /bin/bash -c "/opt/sophos-av/bin/savupdate -v3 -a"
echo "Sophos done" echo "Sophos done"
} }