Initial code drop.

This commit is contained in:
Jocelyn Le Sage 2018-02-14 20:32:28 -05:00
commit 1447b6640a
15 changed files with 685 additions and 0 deletions

View file

@ -0,0 +1,2 @@
#!/usr/bin/with-contenv sh
echo "$APP_NAME is likely to crash because of the lack of shared memory. Size of shared memory needs to be increased. See the documentation to find out how this can be done."

View file

@ -0,0 +1,16 @@
#!/bin/sh
set -e # Exit immediately if a command exits with a non-zero status.
set -u # Treat unset variables as an error.
LINE="$1"
if [ "$LINE" = "FAIL" ]; then
echo 'ACK' > /tmp/.firefox_shm_check
exit 0
fi
# No match found.
exit 1
# vim: set ft=sh :

View file

@ -0,0 +1 @@
WARNING

View file

@ -0,0 +1,2 @@
#!/usr/bin/with-contenv sh
echo "$APP_NAME lacks of shared memory."