mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
9 lines
224 B
Desktop File
9 lines
224 B
Desktop File
# copy to /etc/systemd/system path
|
|
[Unit]
|
|
Description=Mount USB Drive on %i
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=true
|
|
ExecStart=/casaOS/server/shell/usb-mount.sh add %i
|
|
ExecStop=/casaOS/server/shell/usb-mount.sh remove %i
|