-
Notifications
You must be signed in to change notification settings - Fork 33
/
PollenFS.sh
91 lines (86 loc) · 2.95 KB
/
PollenFS.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#!/bin/bash
if [ $(id -u) -ne 0 ]; then
echo "Run this script as root (sudo su)"
exit
fi
echo "+##############################################+"
echo "# Welcome To Pollen! (RootFS) #"
echo "# The User Policy Editor #"
echo "# -------------------------------------------- #"
echo "# Developers: #"
echo "# - OlyB #"
echo "# - Rafflesia #"
echo "# - r58Playz #"
echo "+##############################################+"
echo "May Ultrablue Rest in Peace, o7"
sleep 1
mkdir -p /etc/opt/chrome/policies/managed
echo '{
"URLBlocklist": [],
"SystemFeaturesDisableList": [],
"EditBookmarksEnabled": true,
"ChromeOsMultiProfileUserBehavior": "unrestricted",
"DeveloperToolsAvailability": 1,
"DefaultPopupsSetting": 1,
"AllowDeletingBrowserHistory": true,
"AllowDinosaurEasterEgg": true,
"IncognitoModeAvailability": 0,
"AllowScreenLock": true,
"ExtensionAllowedTypes": null,
"ExtensionInstallAllowlist": null,
"ExtensionInstallBlocklist": null,
"ExtensionInstallForcelist": null,
"ExtensionSettings": null,
"PasswordManagerEnabled": "true",
"TaskManagerEndProcessEnabled": "true",
"UptimeLimit": "null",
"SystemTerminalSshAllowed": "true",
"SystemTimezone": "",
"IsolatedAppsDeveloperModeAllowed": "true",
"ForceGoogleSafeSearch": "false",
"ForceYouTubeRestrict": "0",
"EasyUnlockAllowed": "true",
"DisableSafeBrowsingProceedAnyway": "false",
"DeviceAllowNewUsers": "true",
"DevicePowerAdaptiveChargingEnabled": "true",
"DeviceGuestModeEnabled": "true",
"DeviceUnaffiliatedCrostiniAllowed": "true",
"VirtualMachinesAllowed": "true",
"CrostiniAllowed": "true",
"DefaultCookiesSetting": "1",
"VmManagementCliAllowed": "true",
"WifiSyncAndroidAllowed": "true",
"DeveloperToolsDisabled": "false",
"DeveloperToolsAvailability": "1",
"DeviceBlockDevmode": "false",
"UserBorealisAllowed": "true",
"InstantTetheringAllowed": "true",
"NearbyShareAllowed": "true",
"PinnedLauncherApps": "null",
"PrintingEnabled": "true",
"SmartLockSigninAllowed": "true",
"PhoneHubAllowed": "true",
"LacrosAvailability": "user_choice",
"WallpaperImage": null,
"ArcPolicy": {
"playStoreMode": "ENABLED",
"installType": "FORCE_INSTALLED",
"playEmmApiInstallDisabled": false,
"dpsInteractionsDisabled": false
},
"DnsOverHttpsMode": "automatic",
"BrowserLabsEnabled": "true",
"ChromeOsReleaseChannelDelegated": "true",
"WallpaperImage": "null",
"SafeSitesFilterBehavior": "0",
"SafeBrowsingProtectionLevel": "0",
"DownloadRestrictions": "0",
"ProxyMode": "system",
"ProxyServerMode": "system",
"NetworkThrottlingEnabled": "false",
"NetworkPredictionOptions": "0",
"AllowedDomainsForApps": "",
"DeviceUserAllowlist": ""
}' > /etc/opt/chrome/policies/managed/pollen.json
echo ""
echo "Pollen (RootFS) has been successfully applied!"