⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.200
Server IP:
13.127.59.50
Server:
Linux ip-172-31-46-210 5.15.0-1033-aws #37~20.04.1-Ubuntu SMP Fri Mar 17 11:39:30 UTC 2023 x86_64
Server Software:
Apache/2.4.41 (Ubuntu)
PHP Version:
7.4.3-4ubuntu2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
lib
/
dpkg
/
info
/
View File Name :
multipath-tools.preinst
#! /bin/sh # preinst script for multipath-tools set -e case "$1" in install) ;; upgrade) if dpkg --compare-versions "$2" lt "0.4.7-3"; then [ -e /etc/rcS.d/S03multipath-tools-boot ] && rm /etc/rcS.d/S03multipath-tools-boot fi if dpkg --compare-versions "$2" lt "0.4.8-7"; then [ -e /etc/rcS.d/S04multipath-tools-boot ] && rm /etc/rcS.d/S04multipath-tools-boot fi if dpkg --compare-versions "$2" lt "0.4.9"; then if [ -e /var/lib/multipath/bindings ]; then echo "Moving bindings file to /etc/multipath/" mkdir -p /etc/multipath/ mv /var/lib/multipath/bindings /etc/multipath/ fi fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac if ! dmsetup targets | cut -d' ' -f1 | grep -q '^multipath$'; then modprobe -v dm-multipath || true fi exit 0