diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-26 23:41:14 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-26 23:41:14 +0100 |
commit | e6b1d989a4f3e0f9fa6dc77439da81f2bc863189 (patch) | |
tree | d537a09a8e5b29d05632e45ec9ed1c180c081b70 /test/tomcat/post-install | |
parent | 5079d689375ad3bd7523905a4813b31e34471034 (diff) | |
download | nutyx-extra-e6b1d989a4f3e0f9fa6dc77439da81f2bc863189.tar.gz nutyx-extra-e6b1d989a4f3e0f9fa6dc77439da81f2bc863189.tar.bz2 nutyx-extra-e6b1d989a4f3e0f9fa6dc77439da81f2bc863189.tar.xz nutyx-extra-e6b1d989a4f3e0f9fa6dc77439da81f2bc863189.zip |
procmail, tomcat,
xorg-xf86-input-jamstudio, xorg-xf86-input-magellan, xorg-xf86-input-mutouch, xorg-xf86-video-vga dans test
Diffstat (limited to 'test/tomcat/post-install')
-rwxr-xr-x | test/tomcat/post-install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/tomcat/post-install b/test/tomcat/post-install new file mode 100755 index 000000000..be8e6e36d --- /dev/null +++ b/test/tomcat/post-install @@ -0,0 +1,16 @@ + if [ ! `grep tomcat /etc/group` ]; then + groupadd -g 66 tomcat &>/dev/null; + fi + + id tomcat &>/dev/null || \ + useradd -u 66 -g tomcat -d /opt/tomcat -s /bin/false tomcat + + if [ -f lib/modules/`uname -r`/kernel/security/capability.ko ]; then + echo ">>> It appears that your current kernel has linux security" + echo ">>> capabilities built as a module. tomcat requires this" + echo ">>> functionality to operate." + echo ">>>" + echo ">>> To activate the module, please load it now (modprobe capability)." + echo ">>> Also, you should add it to your MODULES array in rc.conf, so" + echo ">>> it will be activated automatically at boot-up." + fi |