|
|
@ -160,7 +160,7 @@ EOF |
|
|
|
nfs() { |
|
|
|
doas apk add nfs-utils samba cifs-utils |
|
|
|
mkdir -p "$HOME/nfs/rpi" && mkdir -p "$HOME/nfs/d2" |
|
|
|
echo 'export WORKSPACES=$HOME/nfs/rpi/ohsg11/s2:$HOME/nfs/d2/ohsg11/s2:$WORKSPACES' >> ~/.zshrc |
|
|
|
echo 'export WORKSPACES=$HOME/nfs/d2/ohsg11/s2:$HOME/nfs/rpi/ohsg11/s2:$WORKSPACES' >> ~/.zshrc |
|
|
|
echo "alias schoolmount='doas mount 192.168.1.34:/srv/nfs ~/nfs/rpi'" >> ~/.zshrc |
|
|
|
cat <<EOF >> ~/.zshrc |
|
|
|
alias d2mount='doas mount.cifs -o username=junikim,uid=\$(id -u),gid=\$(id -g) //157.245.86.196/d2nas ~/nfs/d2' |
|
|
|