Skip to content

Add make automaps #356

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ install_data pdist/pdistd@.service "$DESTDIR$systemdunitd
install_exec pdist/pdist-bootcheck "$DESTDIR$usr_exec_prefix/libexec/pdist-bootcheck"
install_data pdist/pdist-bootcheck.service "$DESTDIR$systemdunitdir/pdist-bootcheck.service"
install_exec wakeonlan/wake "$DESTDIR$usr_bindir/wake"
install_data make-automaps/make-automaps.service "$DESTDIR$systemdunitdir/make-automaps.service"

postinstall
exit
12 changes: 12 additions & 0 deletions make-automaps/make-automaps.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
DefaultDependencies=no
After=systemd-remount-fs.service
ConditionPathExists=!/etc/automount/auto.scratch

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/make-automaps

[Install]
WantedBy=basic.target