summaryrefslogtreecommitdiff
path: root/www/iridium/files/iridium.in
blob: 60b285d3bdb8361068c87762d88955d35a6af686 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

SYSCTL=kern.ipc.shm_allow_removed
if [ "`/sbin/sysctl -n $SYSCTL`" = 0 ] ; then
	cat << EOMSG
For correct operation, shared memory support has to be enabled
in Chromium by performing the following command as root :

sysctl $SYSCTL=1

To preserve this setting across reboots, append the following
to /etc/sysctl.conf :

$SYSCTL=1
EOMSG
	exit 1
fi
ulimit -c 0
exec %%PREFIX%%/share/iridium/iridium ${1+"$@"}