aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 12:13:06 +0100
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-11-23 12:24:26 +0100
commit49fe9bd77db951bf7daec435f69502807e41c2c4 (patch)
tree62c6033f1495d31507abc9135c0a479cf2eb21ef /services
parentb6c97e117c20a91e548966fa50411e7fe3dd8818 (diff)
Implement init/cron split
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am3
-rw-r--r--services/ntpsetdate.gcron.in7
-rw-r--r--services/swclocksave.gcron.in3
3 files changed, 1 insertions, 12 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
index e39e200..bb2d464 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -10,8 +10,7 @@ init_DATA += services/network services/hostapd services/swclock
init_DATA += services/swclocksave services/nft services/sigkill
init_DATA += services/sshd services/sshd_keygen services/consolefont
init_DATA += services/nginx services/usyslogd services/klogd
-init_DATA += services/swclocksave.gcron services/gcrond
-init_DATA += services/mountusr services/ntpsetdate.gcron
+init_DATA += services/gcrond services/mountusr
init_DATA += services/tmpfsrun services/tmpfsvar
EXTRA_DIST += services/sysinit services/vfs services/agetty services/hostname
diff --git a/services/ntpsetdate.gcron.in b/services/ntpsetdate.gcron.in
deleted file mode 100644
index 6f86bd5..0000000
--- a/services/ntpsetdate.gcron.in
+++ /dev/null
@@ -1,7 +0,0 @@
-hour */4
-minute 5
-dayofmonth *
-dayofweek *
-month *
-tty /dev/null
-exec "@SCRIPTDIR@/setntpdate.sh"
diff --git a/services/swclocksave.gcron.in b/services/swclocksave.gcron.in
deleted file mode 100644
index 24e162b..0000000
--- a/services/swclocksave.gcron.in
+++ /dev/null
@@ -1,3 +0,0 @@
-interval hourly
-tty truncate @STATEFILESPATH@/swclock
-exec date --utc +%%m%%d%%H%%M%%Y.%%S