diff options
Diffstat (limited to 'sbin/init.d/portmap')
-rwxr-xr-x | sbin/init.d/portmap | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sbin/init.d/portmap b/sbin/init.d/portmap new file mode 100755 index 0000000..beb5110 --- /dev/null +++ b/sbin/init.d/portmap @@ -0,0 +1,13 @@ +#!/bin/bash + +. `dirname $0`/functions + +option bin reserved_option /usr/sbin/portmap + +function fct_pre_start { + # portmap dies if >1024 fds are available ! + ulimit -n 1024 +} + +load_config + |