Rework System category

This commit is contained in:
Marcel Bischoff 2015-12-04 01:39:57 +01:00
parent 53fbc3be15
commit e15d908e6a

View File

@ -1069,9 +1069,16 @@ If FileVault is enabled on the current volume, it restarts the system, bypassing
sudo fdesetup authrestart sudo fdesetup authrestart
``` ```
#### Check FileVault Status #### FileVault Service
```bash ```bash
# Status
sudo fdesetup status sudo fdesetup status
# Enable
sudo fdesetup enable
# Disable (Default)
sudo fdestatus disable
``` ```
### Information/Reports ### Information/Reports
@ -1136,14 +1143,13 @@ vm_stat -c 10 1
### Notification Center ### Notification Center
#### Disable Notification Center #### Notification Center Service
```bash ```bash
# Disable
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist && \ launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist && \
killall -9 NotificationCenter killall -9 NotificationCenter
```
#### Enable Notification Center # Enable (Default)
```bash
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
``` ```
@ -1156,30 +1162,24 @@ qlmanage -p /path/to/file
### Root User ### Root User
#### Enable Root User
```bash ```bash
# Enable
dsenableroot dsenableroot
```
#### Disable Root User # Disable
```bash
dsenableroot -d dsenableroot -d
``` ```
### Safe Mode Boot ### Safe Mode Boot
#### Check Safe Mode Setting
```bash ```bash
# Status
nvram boot-args nvram boot-args
```
#### Enable Safe Mode # Enable
```bash
sudo nvram boot-args="-x" sudo nvram boot-args="-x"
```
#### Disable Safe Mode # Disable
```bash
sudo nvram boot-args="" sudo nvram boot-args=""
``` ```
@ -1254,13 +1254,12 @@ sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
### Spotlight ### Spotlight
#### Disable Indexing #### Spotlight Indexing
```bash ```bash
# Disable
mdutil -i off -d /path/to/volume mdutil -i off -d /path/to/volume
```
#### Enable Indexing # Enable (Default)
```bash
mdutil -i on /path/to/volume mdutil -i on /path/to/volume
``` ```