You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
284 B
Bash

#!/bin/sh
#
# Copyright (C) 2016 devolo AG
#
# update openwrt version
. /etc/delos-version
FIRMWARE_DATE=${FIRMWARE_DATE:-dev}
echo -n "${FIRMWARE_VERSION}_${FIRMWARE_DATE}" | tr -c '[a-zA-Z0-9]' '_' > /etc/openwrt_version
# leave this file here for the next firmware update
exit 1