saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
		
							parent
							
								
									b9176d7c7a
								
							
						
					
					
						commit
						83d79696e3
					
				
							
								
								
									
										91
									
								
								UPower/._cfg0000_UPower.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										91
									
								
								UPower/._cfg0000_UPower.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,91 @@ | ||||
| # Only the system vendor should modify this file, ordinary users | ||||
| # should not have to change anything. | ||||
| 
 | ||||
| [UPower] | ||||
| 
 | ||||
| # Enable the Watts Up Pro device. | ||||
| # | ||||
| # The Watts Up Pro contains a generic FTDI USB device without a specific | ||||
| # vendor and product ID. When we probe for WUP devices, we can cause | ||||
| # the user to get a perplexing "Device or resource busy" error when | ||||
| # attempting to use their non-WUP device. | ||||
| # | ||||
| # The generic FTDI device is known to also be used on: | ||||
| # | ||||
| # - Sparkfun FT232 breakout board | ||||
| # - Parallax Propeller | ||||
| # | ||||
| # default=false | ||||
| EnableWattsUpPro=false | ||||
| 
 | ||||
| # Don't poll the kernel for battery level changes. | ||||
| # | ||||
| # Some hardware will send us battery level changes through | ||||
| # events, rather than us having to poll for it. This option | ||||
| # allows disabling polling for hardware that sends out events. | ||||
| # | ||||
| # default=false | ||||
| NoPollBatteries=false | ||||
| 
 | ||||
| # Do we ignore the lid state | ||||
| # | ||||
| # Some laptops are broken. The lid state is either inverted, or stuck | ||||
| # on or off. We can't do much to fix these problems, but this is a way | ||||
| # for users to make the laptop panel vanish and for programs like | ||||
| # gnome-settings-daemon to not suspend on system startup. | ||||
| # | ||||
| # default=false | ||||
| IgnoreLid=false | ||||
| 
 | ||||
| # Policy for warnings and action based on battery levels | ||||
| # | ||||
| # Whether battery percentage based policy should be used. The default | ||||
| # is to use the time left, change to true to use the percentage, which | ||||
| # should work around broken firmwares. | ||||
| # default=false | ||||
| UsePercentageForPolicy=false | ||||
| 
 | ||||
| # When UsePercentageForPolicy is true, the levels at which UPower will | ||||
| # consider the battery low, critical, or take action for the critical | ||||
| # battery level. | ||||
| # | ||||
| # This will also be used for batteries which don't have time information | ||||
| # such as that of peripherals. | ||||
| # | ||||
| # If any value is invalid, or not in descending order, the defaults | ||||
| # will be used. | ||||
| # | ||||
| # Defaults: | ||||
| # PercentageLow=10 | ||||
| # PercentageCritical=3 | ||||
| # PercentageAction=2 | ||||
| PercentageLow=10 | ||||
| PercentageCritical=3 | ||||
| PercentageAction=2 | ||||
| 
 | ||||
| # When UsePercentageForPolicy is false, the time remaining at which UPower | ||||
| # will consider the battery low, critical, or take action for the critical | ||||
| # battery level. | ||||
| # | ||||
| # If any value is invalid, or not in descending order, the defaults | ||||
| # will be used. | ||||
| # | ||||
| # Defaults: | ||||
| # TimeLow=1200 | ||||
| # TimeCritical=300 | ||||
| # TimeAction=120 | ||||
| TimeLow=1200 | ||||
| TimeCritical=300 | ||||
| TimeAction=120 | ||||
| 
 | ||||
| # The action to take when "TimeAction" or "PercentageAction" above has been | ||||
| # reached for the batteries (UPS or laptop batteries) supplying the computer | ||||
| # | ||||
| # Possible values are: | ||||
| # PowerOff | ||||
| # Hibernate | ||||
| # HybridSleep | ||||
| # | ||||
| # If HybridSleep isn't available, Hibernate will be used | ||||
| # If Hibernate isn't available, PowerOff will be used | ||||
| CriticalPowerAction=HybridSleep | ||||
							
								
								
									
										36
									
								
								dbus-1/system.d/._cfg0000_org.freedesktop.UPower.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								dbus-1/system.d/._cfg0000_org.freedesktop.UPower.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,36 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> | ||||
| 
 | ||||
| <!DOCTYPE busconfig PUBLIC | ||||
|  "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | ||||
|  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||||
| <busconfig> | ||||
|   <!-- Only root can own the service --> | ||||
|   <policy user="root"> | ||||
|     <allow own="org.freedesktop.UPower"/> | ||||
|   </policy> | ||||
|   <policy context="default"> | ||||
| 
 | ||||
|     <allow send_destination="org.freedesktop.UPower" | ||||
|            send_interface="org.freedesktop.DBus.Introspectable"/> | ||||
| 
 | ||||
|     <allow send_destination="org.freedesktop.UPower" | ||||
|            send_interface="org.freedesktop.DBus.Peer"/> | ||||
|     <allow send_destination="org.freedesktop.UPower" | ||||
|            send_interface="org.freedesktop.DBus.Properties"/> | ||||
|     <allow send_destination="org.freedesktop.UPower.Device" | ||||
|            send_interface="org.freedesktop.DBus.Properties"/> | ||||
|     <allow send_destination="org.freedesktop.UPower.KbdBacklight" | ||||
|            send_interface="org.freedesktop.DBus.Properties"/> | ||||
|     <allow send_destination="org.freedesktop.UPower.Wakeups" | ||||
|            send_interface="org.freedesktop.DBus.Properties"/> | ||||
| 
 | ||||
|     <allow send_destination="org.freedesktop.UPower" | ||||
|            send_interface="org.freedesktop.UPower"/> | ||||
|     <allow send_destination="org.freedesktop.UPower" | ||||
|            send_interface="org.freedesktop.UPower.Device"/> | ||||
|     <allow send_destination="org.freedesktop.UPower" | ||||
|            send_interface="org.freedesktop.UPower.KbdBacklight"/> | ||||
|     <allow send_destination="org.freedesktop.UPower" | ||||
| 	   send_interface="org.freedesktop.UPower.Wakeups"/> | ||||
|   </policy> | ||||
| </busconfig> | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 root
							root