mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
8e2f5020cd
shfmt -f source4/scripting/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
17 lines
474 B
Bash
Executable File
17 lines
474 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This sets up bin/ and st/ as tmpfs filesystems, which saves a lot of
|
|
# time waiting on the disk!
|
|
|
|
sudo echo "About to (re)mount bin and st as tmpfs"
|
|
rm -rf bin st
|
|
sudo umount bin >/dev/null 2>&1
|
|
sudo umount st >/dev/null 2>&1
|
|
mkdir -p bin st || exit 1
|
|
sudo mount -t tmpfs /dev/null bin || exit 1
|
|
sudo chown $USER bin/. || exit 1
|
|
echo "tmpfs setup for bin/"
|
|
sudo mount -t tmpfs /dev/null st || exit 1
|
|
sudo chown $USER st/. || exit 1
|
|
echo "tmpfs setup for st/"
|