projects
/
projects.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of http://wagnertech.de/git/projects
[projects.git]
/
debian
/
sysd2sysv.postinst
1
#!/bin/bash
2
set -e
3
4
# delete init files created from template
5
pushd /etc/init.d >/dev/null
6
for file in $(ls)
7
do
8
if grep "# sysd2sysv-template #" $file
9
then
10
rm $file
11
fi
12
# for downward compatibility
13
if [ -f mlistd ]
14
then
15
rm mlistd
16
fi
17
done
18