Document how to detect if docked or not in example preup, #167742
This commit is contained in:
parent
06e687598d
commit
639024a04a
@ -958,6 +958,12 @@
|
||||
# return 1
|
||||
# fi
|
||||
#
|
||||
# # Test to see if we're docked or not and configure like so
|
||||
# # config_docked="dhcp"
|
||||
# if grep -q "1" /sys/devices/platform/dock.0/docked ; then
|
||||
# einfo "${IFACE} is docked - configuring"
|
||||
# _configure_variables "docked"
|
||||
# fi
|
||||
#
|
||||
# # Remember to return 0 on success
|
||||
# return 0
|
||||
|
Loading…
Reference in New Issue
Block a user