install nfs and samba scripts
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f /etc/exports ]; then
|
||||
printf "please create copy of your old config /etc/exports and delete file /etc/exports\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d ~/dotfiles ]; then
|
||||
printf "please rename your directory of hyprland_dotfiles repository to ~/dotfiles\n"
|
||||
exit 1
|
||||
fi
|
||||
sudo -E ln -sv ~/dotfiles/nfs/exports /etc/
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -f /etc/samba/smb.conf ]; then
|
||||
printf "please create copy of your old config /etc/samba/smb.conf and delete file /etc/samba/smb.conf\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d ~/dotfiles ]; then
|
||||
printf "please rename your directory of hyprland_dotfiles repository to ~/dotfiles\n"
|
||||
exit 1
|
||||
fi
|
||||
sudo -E ln -sv ~/dotfiles/samba/smb.conf /etc/samba/
|
||||
Reference in New Issue
Block a user