Gitiles
Code Review
Sign In
192.168.1.100
/
T106_DC
/
0c0b93f77032e6c79185e933b95c6f45d62eca3f
/
.
/
ap
/
build
/
fix_userdata_link.sh
blob: 67d23c7e5ec1d92b6172e4eba4fd17f1d58a3ab9 [
file
] [
log
] [
blame
]
#!/bin/bash
DEST_DIR
=
$1
rm
-
fv $DEST_DIR
/
cache $DEST_DIR
/
var $DEST_DIR
/
etc_rw
cd $DEST_DIR
&&
ln
-
s
/
mnt
/
userdata
/
cache cache
&&
ln
-
s
/
mnt
/
userdata
/
var var
&&
ln
-
s
/
mnt
/
userdata
/
etc_rw etc_rw