Browse Source

uid and gid set

master
Juni Kim 2 years ago
parent
commit
19afd7308f
  1. 4
      install_alpine.sh

4
install_alpine.sh

@ -162,7 +162,9 @@ EOF
mkdir -p "$HOME/nfs/rpi" && mkdir -p "$HOME/nfs/d2" 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/rpi/ohsg11/s2:$HOME/nfs/d2/ohsg11/s2:$WORKSPACES' >> ~/.zshrc
echo "alias schoolmount='doas mount 192.168.1.34:/srv/nfs ~/nfs/rpi'" >> ~/.zshrc echo "alias schoolmount='doas mount 192.168.1.34:/srv/nfs ~/nfs/rpi'" >> ~/.zshrc
echo "alias d2mount='doas mount.cifs //157.245.86.196/d2nas ~/nfs/d2'" >> ~/.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'
EOF
} }
graphical() { graphical() {

Loading…
Cancel
Save