# Distributed under the terms of the GNU General Public License v2
start() {
- if ! [[ -e /opt/freenet/freenet.ini ]]; then
- start-stop-daemon --start --chuid freenet --exec /bin/sh /var/freenet/run.sh start 2>/dev/null
- eend 0
- else
- echo "Please move freenet to the new location with the following command:"
- echo " mv /opt/freenet /var/freenet"
- eend 1
- fi
+ start-stop-daemon --start --chuid freenet --exec /bin/sh /var/freenet/run.sh start 2>/dev/null
+ eend 0
}
status() {