⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
update-notifier
/
View File Name :
package-system-locked
#!/bin/sh # check if package system is locked # return 0 if unlocked, 2 if locked, 1 on error set -e for f in /var/lib/dpkg/lock /var/cache/apt/archives/lock \ /var/lib/apt/lists/lock /run/unattended-upgrades.lock; do [ -e $f ] || continue # fuser succeeds if there is at least one user if fuser $f; then exit 2 fi done exit 0