Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next-suricata

This commit is contained in:
Stefan Schantl
2018-09-26 14:49:34 +02:00
554 changed files with 1394 additions and 1025 deletions

View File

@@ -36,16 +36,10 @@ case "${1}" in
ip link set lo up
evaluate_retval
boot_mesg "Setting hostname to ${HOSTNAME}..."
hostname "${HOSTNAME}"
boot_mesg "Setting hostname to ${HOSTNAME}.${DOMAINNAME}..."
hostname "${HOSTNAME}.${DOMAINNAME}"
evaluate_retval
if [ -n "${DOMAINNAME}" ]; then
boot_mesg "Setting domainname to ${DOMAINNAME}..."
domainname "${DOMAINNAME}"
evaluate_retval
fi
# Update hosts
write_hosts

View File

@@ -42,7 +42,7 @@ function create_all_routes() {
CONFIGFILE="/var/ipfire/main/routing"
case "${1}" in
start)
start|reload)
boot_mesg "Adding static routes..."
# First, initialize the table
@@ -61,7 +61,7 @@ case "${1}" in
;;
*)
echo "Usage: ${0} {start|stop}"
echo "Usage: ${0} {start|stop|reload}"
exit 1
;;
esac