freedombone/tests/check-ctrl-alt-del.sh

10 lines
208 B
Bash

#!/bin/bash
if [ -f /etc/systemd/system/ctrl-alt-del.target ];then
if ! ls -l /etc/systemd/system/ctrl-alt-del.target | grep "/dev/null";then
exit 1
fi
else
exit 1
fi