#!/bin/sh -eu# This is the uninstall script for Cockpit when run in a privileged container## The host file system must be mounted at /hostcd /PATH="/bin:/sbin"if [ ! -d /host/etc -o ! -d /host/proc -o ! -d /host/run ]; thenecho "host file system is not mounted at /host" >&2exit 1fiset -x# Everything else is settings and should remainrm -f /host/etc/pam.d/cockpitrm -f /host/etc/systemd/system/cockpit.service