base-files: firstboot: only ask for confirmation on TTY
authorJonas Gorski <jogo@openwrt.org>
Wed, 27 Mar 2013 12:39:42 +0000 (12:39 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 27 Mar 2013 12:39:42 +0000 (12:39 +0000)
commita7088e27993bf3442b8e9243fa3b90bb999343ba
tree9680968a10bdb9003dab60de2cbeee62520e996e
parent89042f6945764584a93545ca5dccc5571c2f8074
base-files: firstboot: only ask for confirmation on TTY

Also allow '-y' to force the reset.

SVN-Revision: 36133
package/base-files/files/sbin/firstboot