288,7 → 288,7 |
sed -i "s/^SMS=.*/SMS=off/" $CONF_FILE |
exit 0 |
fi |
gammu_pid=`/usr/sbin/pidof gammu-smsd|wc -l` |
gammu_pid=`/usr/bin/pidof gammu-smsd|wc -l` |
if [ $gammu_pid != "0" ] |
then |
echo "Gammu is already started" |
306,7 → 306,7 |
exit 0 |
;; |
--stop) |
gammu_pid=`/usr/sbin/pidof gammu-smsd|wc -l` |
gammu_pid=`/usr/bin/pidof gammu-smsd|wc -l` |
if [ $gammu_pid != "0" ] |
then |
stop_gammu |
317,7 → 317,7 |
exit 0 |
;; |
--pidof) |
/sbin/pidof gammu-smsd |
/usr/bin/pidof gammu-smsd |
;; |
--last_nosim) |
# Récupère la dernière ligne où NOSIM est présent (error) |