projects
/
projects.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
posaune
[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
done
13
14
# for downward compatibility
15
if [ -f mlistd ]
16
then
17
rm mlistd
18
fi
19