summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/firstrun_script.sh
diff options
context:
space:
mode:
authorChristian Rößler2014-11-11 17:14:27 +0100
committerChristian Rößler2014-11-11 17:14:27 +0100
commitbec43fb1c05dce50ea7b6731fc9e4e77ea433516 (patch)
tree3632c3df08eb593ce730cd0a5540de70f6b7a45a /satellit_installer/static_files/firstrun_script.sh
parent[SSPS] Little bug: Copying first run script routines (diff)
downloadsetup-scripts-bec43fb1c05dce50ea7b6731fc9e4e77ea433516.tar.gz
setup-scripts-bec43fb1c05dce50ea7b6731fc9e4e77ea433516.tar.xz
setup-scripts-bec43fb1c05dce50ea7b6731fc9e4e77ea433516.zip
[SSPS] firstrun_script.sh: Some cosmetics (grep -q)
Diffstat (limited to 'satellit_installer/static_files/firstrun_script.sh')
-rw-r--r--satellit_installer/static_files/firstrun_script.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/satellit_installer/static_files/firstrun_script.sh b/satellit_installer/static_files/firstrun_script.sh
index 8ffc948..9f3b4ca 100644
--- a/satellit_installer/static_files/firstrun_script.sh
+++ b/satellit_installer/static_files/firstrun_script.sh
@@ -114,12 +114,12 @@ if ! grep -q "dmsd.*respawn" /etc/inittab; then
fi
# inittab-entry taskmanager:
-if ! grep -c "tman.*respawn" /etc/inittab; then
+if ! grep -q "tman.*respawn" /etc/inittab; then
echo "tman:2345:respawn:$TASKMANDIR/taskmanager.sh" >> /etc/inittab
fi
# inittab-entry syncdaemon:
-if ! grep -c "synd.*respawn" /etc/inittab; then
+if ! grep -q "synd.*respawn" /etc/inittab; then
echo "synd:2345:respawn:/opt/syncdaemon/syncdaemon.sh" >> /etc/inittab
fi