init-script patched to start nfs-kernel-server at container start

This commit is contained in:
pi-farm
2024-04-16 01:35:56 +02:00
parent 960b9c3283
commit 32a9a7e110
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
srv/
RPi-PXE-Server
notes
samba/

View File

@@ -1,5 +1,5 @@
#!/bin/bash
systemctl start chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
systemctl stop rpcbind
systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd
#systemctl stop rpcbind
systemctl start rpcbind && systemctl start nfs-kernel-server && rpc.mountd
systemctl status chrony dnsmasq lighttpd nfs-mountd nfs-server nfs-kernel-server nmbd rsync samba-ad-dc smbd

View File

@@ -96,7 +96,7 @@ menue()
u) clear
docker exec -it pxe-container bash update.sh
clear
# clear
echo "PXE-Server update finished"
echo ""
menue