| Server IP : 62.171.151.215 / Your IP : 216.73.217.53 Web Server : nginx/1.18.0 System : Linux vmi3128365 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64 User : alex ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh -e
standalone_usr() {
local device_root=$(stat --printf='%d\n' /)
local device_usr=$(stat --printf='%d\n' /usr)
if [ "$device_root" != "$device_usr" ]; then
return 0
fi
return 1
}
booted_with_initramfs() {
# created by update-initramfs
if [ -d /run/initramfs/ ]; then
return 1
fi
return 0
}
has_initramfs() {
standalone_usr || return 0
booted_with_initramfs || return 0
echo "/usr is a standalone filesystem, this requires using an initramfs."
exit 1
}
case "$1" in
install)
# check the prerequisites on the first install
if [ -z "$2" ]; then
has_initramfs
fi
;;
esac