diff --git a/install/direwolf.sh b/install/direwolf.sh index 8af4314..58c4a62 100644 --- a/install/direwolf.sh +++ b/install/direwolf.sh @@ -60,29 +60,29 @@ GPSD_OPTIONS="-n" GPSD_SOCKET="/var/run/gpsd.sock" EOF -sudo ln -sf /lib/systemd/system/gpsd.service /etc/systemd/system/multi-user.target.wants/ sudo systemctl stop gpsd -cat > /lib/systemd/system/gpsd.service <<- "EOFG" -[Unit] -Description=GPS (Global Positioning System) Daemon -Requires=gpsd.socket -After=chronyd.service +#cat > /lib/systemd/system/gpsd.service <<- "EOFG" +#[Unit] +#Description=GPS (Global Positioning System) Daemon +#Requires=gpsd.socket +#After=chronyd.service -[Service] -Type=forking -EnvironmentFile=-/etc/default/gpsd -ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES -Restart=on-failure -RestartSec=5s +#[Service] +#Type=forking +#EnvironmentFile=-/etc/default/gpsd +#ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES +#Restart=on-failure +#RestartSec=5s -[Install] -WantedBy=multi-user.target -Also=gpsd.socket +#[Install] +#WantedBy=multi-user.target +#lso=gpsd.socket -EOFG +#EOFG sudo systemctl daemon-reload +sudo ln -sf /lib/systemd/system/gpsd.service /etc/systemd/system/multi-user.target.wants/ #sudo systemctl start gpsd #archivo="/etc/ntp.conf" #palabra=("server 127.127.28.0 4" "fudge 127.127.28.0 time1 0.340 refid GPS" "server 127.127.28.1 prefer" "fudge 127.127.28.1 refid GPS1")