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)
commit574bab45ac550c378af1435362e0d9782147f215
tree6ad0e9371c19760f250c32ce960f5cb4b5dd5a7d
parenteedf9e72f9f81a24771bfb42472c17552bfe274d
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