modem: Properly check for symlink hairiness.

cromo's init script tries to make sure the config group file exists and is
safe to write, but we should double-check before we write it that it really
points to the right place.

BUG=chromium-os:22117
TEST=Adhoc; properly rejects symlinks

Change-Id: I6b2f6b9a142611f3f376653bc25d0e98cde78572
Reviewed-on: https://gerrit.chromium.org/gerrit/10748
Reviewed-by: Jim Hebert <jimhebert@chromium.org>
Reviewed-by: ttuttle <ttuttle@chromium.org>
Tested-by: ttuttle <ttuttle@chromium.org>
1 file changed