On 03/27/2011 06:26 AM, Henk Breimer wrote:
> 
> Nobody seems to have found systemadm!
> Does it all
> 

Maybe I'm missing it, but I don't see any way to enable/disable services
in systemadm.

I finally settled on the following to list the status of all services:

#!/bin/bash

for SERVICE in `systemctl -t service --full --all list-units | awk '{
print $1 }'`; do
    echo -n "$SERVICE:  "
    if systemctl is-enabled $SERVICE; then
        echo ENABLED
    else
        echo disabled
    fi
done 2>/dev/null

-- 
========================================================================
Ian Pilcher                                         arequip...@gmail.com
"If you're going to shift my paradigm ... at least buy me dinner first."
========================================================================

-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test

Reply via email to