repo.or.cz
/
corvix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
.
[corvix.git]
/
var
/
deb-package
/
meta
/
corvix-cluster
/
opt
/
cluster
/
etc
/
init
/
clean_scratch
blob
6e375899a1361b8fa9183f904a470f16f8931fb5
1
#!/bin/zsh
2
LOG
"Clean /scratch"
3
if
[[
-d
/
scratch
]];
then
4
rm
-rf
/
scratch
/*
5
else
6
mkdir
-p
/
scratch
7
chmod
-R
aog
+
rwx
/
scratch
8
fi