Skip to content

Commit

Permalink
Merge pull request #356 from mariux64/add-make-automaps
Browse files Browse the repository at this point in the history
Add make automaps
  • Loading branch information
david authored Oct 26, 2023
2 parents d583c94 + 4f1ab33 commit af965ce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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

0 comments on commit af965ce

Please sign in to comment.