HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux srv1.dlabib.net 6.8.0-94-generic #96-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 9 20:36:55 UTC 2026 x86_64
User: hbkconsultan_usr (1002)
PHP: 7.4.33
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