Added initscript prototype with simple flagchecking

master
czesiek 2014-02-14 14:03:22 +00:00
commit 5d747bfd56
1 changed files with 9 additions and 0 deletions

9
initscript_proto.sh Executable file
View File

@ -0,0 +1,9 @@
#!/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