Debian Codegraph @

debian/fireqos.postinst

raw
1 #!/bin/sh
2 set -e
3 if [ -f /etc/fireqos/fireqos.conf ]; then
4 mv -f /etc/fireqos/fireqos.conf /etc/firehol/fireqos.conf
5 echo
6 echo
7 echo "FireQOS has now its configuration in /etc/firehol/fireqos.conf"
8 echo "Your existing configuration has been moved to its new place."
9 echo
10 if (rmdir /etc/fireqos 2> /dev/null); then
11 echo "The now obsolete folder /etc/fireqos has been successfully removed."
12 else
13 echo "The now obsolete folder /etc/fireqos could not been removed."
14 echo "It is likely that it contains some local material; if so,"
15 echo "you want to consider to move by hand the concerned material"
16 echo "in /etc/firehol and then remove /etc/fireqos."
17 fi
18 fi
19 #DEBHELPER#