* Include extras/* in ISO * build-wk modifies build.sh before it is called * NetworkManager is back * Switched to Numix-Square icons * Added remount-rw script * Accessible in Thunar as custom action * Readded mesa-demos to fix inxi message * Removed xorg-video-ati (conflicts with AMDGPU) * Swapping nvidia in for nouveau (attempt to fix X for newer macs) * Added mbpfan-git * Added Mac fans script (set all fans to auto/max) * Fixed issue where udevil would use /media/$USER/Name for the first call
22 lines
322 B
Bash
22 lines
322 B
Bash
#!/bin/bash
|
|
#
|
|
## Remount volume read-write
|
|
|
|
if ! mount | grep -q "$1"; then
|
|
echo "ERROR: Can't remount $1"
|
|
sleep 2s
|
|
exit 1
|
|
fi
|
|
|
|
DEVICE=$(mount | grep "$1" | cut -d' ' -f1)
|
|
|
|
echo "Remounting: $DEVICE"
|
|
udevil umount $DEVICE
|
|
if udevil mount $DEVICE; then
|
|
echo "Done"
|
|
else
|
|
echo "Failed"
|
|
fi
|
|
|
|
sleep 2s
|
|
exit 0
|