install nfs and samba scripts
This commit is contained in:
1 parent
cc640cde1c
commit
79b05abed9
2 files changed
+25
No files matched your search
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