diff --git a/optional/config/snapcontrol.ini b/optional/config/snapcontrol.ini index 373b8ac..e10c97c 100644 --- a/optional/config/snapcontrol.ini +++ b/optional/config/snapcontrol.ini @@ -1,5 +1,5 @@ ; SNAPCONTROL config file. -; https://gitea.exabyte-systems.com/WINDOWS/snapcontrol.git +; https://redbeard.ebslan.de/WINDOWS/snapcontrol.git ; ; This tool creates an image backups of windows machines, ; it uses the Drive Snapshot tool by Tom Ehlert Software. diff --git a/scripts/autoconfig.cmd b/scripts/autoconfig.cmd index cc4f72f..80033f0 100644 --- a/scripts/autoconfig.cmd +++ b/scripts/autoconfig.cmd @@ -42,6 +42,7 @@ set bluetooth_networking=0 set ms_tcpip6=0 set ms_implat=0 set ms_server=0 +set browser_homepage=google.com echo ####### %0 ####### date /t @@ -95,6 +96,7 @@ echo bluetooth_networking=%bluetooth_networking% echo ms_tcpip6=%ms_tcpip6% echo ms_implat=%ms_implat% echo ms_server=%ms_server% +echo browser_homepage=%browser_homepage% echo ++++++++++++++++++ echo. diff --git a/scripts/config/firefox/mozilla.cfg b/scripts/config/firefox/mozilla.cfg index e5f6e11..e1442fe 100644 --- a/scripts/config/firefox/mozilla.cfg +++ b/scripts/config/firefox/mozilla.cfg @@ -30,7 +30,7 @@ defaultPref("browser.search.region", "US"); lockPref("browser.search.suggest.enabled", false); defaultPref("browser.shell.checkDefaultBrowser", false); defaultPref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true); -lockPref("browser.startup.homepage", "exabyte-systems.com"); +lockPref("browser.startup.homepage", "___HOMEPAGE___"); defaultPref("browser.tabs.warnOnClose", false); lockPref("browser.urlbar.suggest.bookmark", false); lockPref("browser.urlbar.suggest.history", false); diff --git a/scripts/install-firefox.cmd b/scripts/install-firefox.cmd index 3e320a6..70f9b3a 100644 --- a/scripts/install-firefox.cmd +++ b/scripts/install-firefox.cmd @@ -4,6 +4,7 @@ set CONFIG=config\firefox set SCRIPTS=..\scripts set SOFTWARE=..\software set EXE=firefox-setup.exe +if not defined browser_homepage set browser_homepage=google.com if NOT EXIST %SOFTWARE%\%EXE% ( echo ERROR: %SOFTWARE%\%EXE% not found! @@ -38,6 +39,9 @@ rem copy config ... copy /Y %CONFIG%\local-settings.js %FIREFOXBASE%\defaults\pref copy /Y %CONFIG%\mozilla.cfg %FIREFOXBASE% +rem set browser homepage ... +searchreplace "%ProgramFiles%\Mozilla Firefox\mozilla.cfg" ___HOMEPAGE___ %browser_homepage% + echo disabling FireFox updates (all users) ... reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^ /v DisableAppUpdate ^ diff --git a/scripts/settings.cmd b/scripts/settings.cmd index c98a726..221d31e 100644 --- a/scripts/settings.cmd +++ b/scripts/settings.cmd @@ -22,4 +22,5 @@ set bluetooth_networking=0 set ms_tcpip6=0 set ms_implat=0 set ms_server=0 +set browser_homepage=google.com