Document how to detect if docked or not in example preup, #167742

This commit is contained in:
Roy Marples 2007-07-12 14:13:30 +00:00
parent 06e687598d
commit 639024a04a

View File

@ -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