#!/bin/sh # just use relpath setvar PREFS = ""root/.getflash/getflash-prefs"" test $(pwd) = "/" -a ! -f $PREFS && cat > $PREFS <<< """ ## getflash user preferences ## AUTOUPDATECHECK: true = check for updates at startup | false = do not check for updates at startup AUTOUPDATECHECK="false" ## AUTOUPDATESILENTINSTALL: true = silent install | false = verbose install (user need to confirm installation of the plugin) AUTOUPDATESILENTINSTALL="false" ## AUTOUPDATESTARTUPDELAY: delay (in seconds) before startup (/root/Startup/getflash_auto) = to wait internet connection AUTOUPDATESTARTUPDELAY="100" """ # Remove residual configuration file in old location. rm -f usr/sbin/getflash-conf #v1.5.7 rm -f etc/getflash.conf #v1.6.x