HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/dhcpcd-base.postrm
#!/bin/sh
set -e
if [ "$1" = purge ]; then
  if [ -x "$(command -v deluser)" ]; then
      deluser --quiet --system dhcpcd > /dev/null || true
    else
      echo >&2 "Not removing dhcpcd system account because deluser command was not found"
  fi
  # The dhcpcd package stores leases and DUID in this directory,
  # so we need to remove it on purge.
  rm -rf /var/lib/dhcpcd
fi