## **************************************************************************
## For copyright and licensing terms, see the file named COPYING.
## **************************************************************************

[Unit]
Description=Dimitris Papastamos' smdev plug-and-play manager one-shot initialization
DefaultDependencies=false
Before=shutdown.target
After=local-fs.target suckless-mdev.service
After=plug-and-play-manager.target plug-and-play-rescan-pre.target

[Service]
Type=oneshot
ExecStart=smdev -s
# This only has meaningful behaviour at bootstrap, not later.
RemainAfterExit=yes
Restart=never
# This is an outrageous bodge.
ExecStartPre=sleep 5

[Install]
WantedBy=sysinit.target
StoppedBy=shutdown.target
