summaryrefslogtreecommitdiff
path: root/upgrade-gentoo
diff options
context:
space:
mode:
Diffstat (limited to 'upgrade-gentoo')
-rwxr-xr-xupgrade-gentoo4
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade-gentoo b/upgrade-gentoo
index 026c4fc..853a7c4 100755
--- a/upgrade-gentoo
+++ b/upgrade-gentoo
@@ -1,7 +1,7 @@
#!/bin/zsh
if grep -qs '/media/ext_sd' /proc/mounts; then
- mount -o remount,nousers,noauto /media/ext_sd
+ mount -o remount,exec,nouser,nousers /media/ext_sd
mkdir /media/ext_sd/tmp
chmod 777 /media/ext_sd/tmp
else
@@ -30,6 +30,6 @@ mksquashfs portage portage.squashfs -comp xz
rm -rf /usr/portage
mkdir /usr/portage
mount portage
-rm -r /media/dock/tmp
+rm -r /media/ext_sd/tmp
mount -o remount,users,auto /media/ext_sd