13 lines
226 B
Bash
Executable File
13 lines
226 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
#DEBHELPER#
|
|
|
|
invoke-rc.d udev restart
|
|
|
|
if [ -f /etc/security/limits.conf ]; then
|
|
if ! grep -q "EMC2" /etc/security/limits.conf; then
|
|
echo '* - memlock 20480 #EMC2' >> /etc/security/limits.conf
|
|
fi
|
|
fi
|