From 32a9a7e1101c25f57649a4accd68e593ae8adc0b Mon Sep 17 00:00:00 2001 From: pi-farm Date: Tue, 16 Apr 2024 01:35:56 +0200 Subject: [PATCH] init-script patched to start nfs-kernel-server at container start --- .gitignore | 1 + init-script.sh | 6 +++--- start.sh | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index ecc03a5..e05fcc9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ srv/ RPi-PXE-Server notes +samba/ diff --git a/init-script.sh b/init-script.sh index 4b6f328..b98e2bf 100644 --- a/init-script.sh +++ b/init-script.sh @@ -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 \ No newline at end of file +#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 diff --git a/start.sh b/start.sh index b632ca6..4674c76 100644 --- a/start.sh +++ b/start.sh @@ -96,7 +96,7 @@ menue() u) clear docker exec -it pxe-container bash update.sh - clear +# clear echo "PXE-Server update finished" echo "" menue