Added initscript prototype with simple flagchecking
commit
5d747bfd56
|
@ -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
|
Loading…
Reference in New Issue