Skip to content

Commit

Permalink
fix mount script in mknode different version
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyuhui.807 committed Sep 24, 2023
1 parent 8c4b2d6 commit 9616c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasp/mount_script
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if [ `$run_command "export PATH=/usr/bin:/bin:/sbin;mount|grep $CONTPATH|wc -l"
exit 0
fi
$run_command "export PATH=/usr/bin:/bin:/sbin;mkdir -p $(dirname $DEV)"
$run_command "export PATH=/usr/bin:/bin:/sbin;[ -b $DEV ] ||mknod --mode 0600 $DEV b $DEVDEC"
$run_command "export PATH=/usr/bin:/bin:/sbin;[ -b $DEV ] ||mknod -m 0600 $DEV b $DEVDEC"
$run_command "export PATH=/usr/bin:/bin:/sbin;mkdir /tmpmnt"
$run_command "export PATH=/usr/bin:/bin:/sbin;mount $DEV /tmpmnt"
$run_command "export PATH=/usr/bin:/bin:/sbin;mkdir -p $CONTPATH"
Expand Down

0 comments on commit 9616c3f

Please sign in to comment.