juhosg e22bcee2e5 package/lcd4linux-tew673gru: add a new package for TEW673GRU specific LCD4linux files
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-08 16:39:21 +00:00

15 lines
262 B
Bash
Executable File

#!/bin/sh
#
# Copyright (C) 2012 OpenWrt.org
#
. /lib/ar71xx.sh
board=$(ar71xx_board_name)
if [ "${board}" == "tew-673gru" ]; then
cp -f /etc/lcd4linux_tew673gru.conf /etc/lcd4linux.conf
chmod 600 /etc/lcd4linux.conf
chown root:root /etc/lcd4linux.conf
fi