diff options
author | Simon Rettberg | 2014-11-18 14:18:07 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-11-18 14:18:07 +0100 |
commit | 0f3adf1b54a23fdc36e82a8e8ed1ef64646098d3 (patch) | |
tree | 660b85142c62cf5afffbc4d87d73f8293e7eea08 /satellit_installer/static_files/firstrun_script.sh | |
parent | Include for common java daemon respawning/start control (diff) | |
download | setup-scripts-0f3adf1b54a23fdc36e82a8e8ed1ef64646098d3.tar.gz setup-scripts-0f3adf1b54a23fdc36e82a8e8ed1ef64646098d3.tar.xz setup-scripts-0f3adf1b54a23fdc36e82a8e8ed1ef64646098d3.zip |
[SSPS] Changed the way dmsd and syncdaemon are started and stopped.
Also added a few more patches to bashrc and vimrc
Diffstat (limited to 'satellit_installer/static_files/firstrun_script.sh')
-rw-r--r-- | satellit_installer/static_files/firstrun_script.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/satellit_installer/static_files/firstrun_script.sh b/satellit_installer/static_files/firstrun_script.sh index c1ac07a..bf5a3ed 100644 --- a/satellit_installer/static_files/firstrun_script.sh +++ b/satellit_installer/static_files/firstrun_script.sh @@ -90,6 +90,7 @@ cat > /etc/motd <<-THEREDOC poweroff - System herunterfahren Andere Modifikationen am System sind in der Regel nicht notwendig. + THEREDOC echo "Konfigurationsdateien werden aktualisiert..." @@ -111,7 +112,7 @@ echo "Dienste werden aktiviert..." # inittab-entry dmsd: if ! grep -q "dmsd.*respawn" /etc/inittab; then - echo "dmsd:2345:respawn:$DMSDDIR/dmsd.sh" >> /etc/inittab + echo "dmsd:2:once:$DMSDDIR/dmsd.sh" >> /etc/inittab fi # inittab-entry taskmanager: @@ -121,7 +122,7 @@ fi # inittab-entry syncdaemon: if ! grep -q "synd.*respawn" /etc/inittab; then - echo "synd:2345:respawn:/opt/syncdaemon/syncdaemon.sh" >> /etc/inittab + echo "synd:2:once:/opt/syncdaemon/syncdaemon.sh" >> /etc/inittab fi echo |