#!/bin/bash # More cleanup? ID=$(id -u wmbusmeters 2>/dev/null) if [ ! "$ID" = "" ] then userdel wmbusmeters echo user: removed wmbusmeters fi