Browse code

changing ownership of voicebox directory to user sems

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1190 8eb893ce-cfd4-0310-b710-fb5ebe64c474

Stefan Sayer authored on 08/12/2008 20:29:09
Showing 1 changed files
... ...
@@ -34,6 +34,16 @@ if ! test -e $DEFAULTFILE; then
34 34
   exit 0
35 35
 fi
36 36
 
37
+# create voicebox spool directory if 
38
+if [ ! -d /var/spool/voicebox ]; then 
39
+  mkdir -p /var/spool/voicebox/
40
+fi
41
+
42
+# make directory writable for sems user
43
+if [ -d /var/spool/voicebox ]; then 
44
+  chown sems /var/spool/voicebox
45
+fi
46
+
37 47
 # ----------------------------------------------------------------------
38 48
 
39 49
 function fn_config_replace