Add vmail command for changing password when you know the current password
[hcoop/domtool2.git] / scripts / domtool-reset-global
1 #!/bin/sh
2
3 rm -rf ~domtool/nodes/*
4 rm -rf ~domtool/serials/*
5 # do we really need to purge all webalizer output?
6 rm -rf ~domtool/webalizer/*
7
8 mkdir ~domtool/webalizer/config
9 mkdir ~domtool/webalizer/output
10
11 for node in 'deleuze' 'navajos' 'fritz'; do
12 mkdir ~domtool/webalizer/config/$node
13 mkdir ~domtool/webalizer/output/$node
14 done
15
16
17 #for usr in `ls /afs/hcoop/usr`
18 #do
19 # rm -rf /afs/hcoop/usr/$usr/apache/log/mire/*
20 # rm -rf /afs/hcoop/usr/$usr/apache/log/deleuze/*
21 #done