Skip to content

Commit 5ef4b28

Browse files
committed
build.sh removes urandom devices
1 parent e8f7460 commit 5ef4b28

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ if [ "$(ls -A $MODULESPATH)" ]; then
5959
rm -r $MODULESPATH*
6060
fi
6161

62+
# Removing dev bindings
63+
if [ -e $DEVURANDOM ]; then
64+
echo -e "/dev/ bindings found: $DEVURANDOM. Unmounting...\n"
65+
umount $DEVURANDOM || echo -e "Not mounted. \n"
66+
rm $DEVURANDOM
67+
fi
68+
6269

6370
# Check if console character file exist
6471
if [ ! -e $DEVCONSOLE ]; then

0 commit comments

Comments
 (0)