|
|
@ -44,7 +44,7 @@ start_psd() { |
|
|
|
if [ -x /usr/bin/psd ]; then |
|
|
|
echo "Starting/Resyncing Profile-sync-daemon..." |
|
|
|
for user in $(get_users); do |
|
|
|
su - $user -c 'psd resync' |
|
|
|
su - $user -c 'psd resync' > /dev/null |
|
|
|
done & |
|
|
|
fi |
|
|
|
} |
|
|
@ -53,7 +53,7 @@ stop_psd() { |
|
|
|
if [ -x /usr/bin/psd ]; then |
|
|
|
echo "Stoppping Profile-sync-daemon..." |
|
|
|
for user in $(get_users); do |
|
|
|
su - $user -c 'psd unsync' |
|
|
|
su - $user -c 'psd unsync' > /dev/null |
|
|
|
done |
|
|
|
fi |
|
|
|
} |
|
|
|