Commit 552d189e authored by Lucas Manika Koeb's avatar Lucas Manika Koeb
Browse files

le-pregao-232012: Place /dev/sda3 on userful's blacklist at boot time


Signed-off-by: default avatarLucas Manika Koeb <lmk08@c3sl.ufpr.br>
parent 39459fa9
......@@ -27,7 +27,9 @@ echo "Loading module rt5592sta..."
modprobe rt5592sta || true
# Blacklist recovery partition
userful storage blacklist add device=/dev/sda3
/etc/init.d/blacklist_backup_partition
update-rc.d -f blacklist_backup_partitioon start 90 2 3 4 5 .
# Update fstab to hide recovery partition from the user
FSTAB="/etc/fstab"
......
#!/bin/bash
if which userful; then
userful storage blacklist add device=/dev/sda3
fi
exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment