#!/bin/bash
# check for the direct-connection flag
if [[ `grep --color=never i_should_not_do_this /proc/cmdline` ]];
then
echo "present";
else
echo "absent";
fi