diff options
author | Roy Marples <roy@marples.name> | 2007-07-12 14:13:30 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-07-12 14:13:30 +0000 |
commit | 639024a04a34dea5e32812ce7c1e9e6f0b5f7e5c (patch) | |
tree | c4f4a4775f8ec48fe61765ce3fc2b54f668f998c | |
parent | 06e687598d76fc2470c19d10f182e8edd8cc9845 (diff) |
Document how to detect if docked or not in example preup, #167742
-rw-r--r-- | conf.d.Linux/net.example | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf.d.Linux/net.example b/conf.d.Linux/net.example index 7725f489..927a5c23 100644 --- a/conf.d.Linux/net.example +++ b/conf.d.Linux/net.example @@ -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 |