Skip to content

Commit 17a12ba

Browse files
committed
Fix symlink creation
1 parent d2f1a6d commit 17a12ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/radxa-otgutils

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function_init()
4141
if [ ! -e "/sys/kernel/config/usb_gadget/radxa-otgutils/configs/r.1/$GADGET" ];
4242
then
4343
mkdir -p "/sys/kernel/config/usb_gadget/radxa-otgutils/functions/$GADGET"
44-
ln -s "/sys/kernel/config/usb_gadget/radxa-otgutils/functions/$GADGET" "/sys/kernel/config/usb_gadget/radxa-otgutils/configs/r.1"
44+
ln -s "/sys/kernel/config/usb_gadget/radxa-otgutils/functions/$GADGET" "/sys/kernel/config/usb_gadget/radxa-otgutils/configs/r.1/$GADGET"
4545
fi
4646
}
4747

0 commit comments

Comments
 (0)