From c4287825653c7fe0c083e9431176085ae828ca10 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Fri, 24 Sep 2021 13:01:48 -0700 Subject: [PATCH] Add more examples to rascsi.service --- src/raspberrypi/os_integration/rascsi.service | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/raspberrypi/os_integration/rascsi.service b/src/raspberrypi/os_integration/rascsi.service index 4a36e0c7..ac03ff4a 100644 --- a/src/raspberrypi/os_integration/rascsi.service +++ b/src/raspberrypi/os_integration/rascsi.service @@ -6,9 +6,15 @@ After=network.target Type=simple Restart=always ExecStart=/usr/local/bin/rascsi -r 7 -# Example: If you want to automatically attach a hard disk at startup, change -# the ExecStart line to: -# ExecStart=/usr/local/bin/rascsi -ID1 /home/pi/images/harddisk.hda +# Example 1: If you want to automatically attach a hard disk at startup, +# say an image called harddisk.hds on SCSI ID 1, change the ExecStart line to: +# ExecStart=/usr/local/bin/rascsi -i 1 /home/pi/images/harddisk.hds +# +# Example 2: If you want to reserve SCSI IDs to prevent usage, add '-r' followed by +# comma-separated SCSI ID numbers; for instance IDs 0 and 7: +# +# ExecStart=/usr/local/bin/rascsi -r 0,7 +# # This functionality isn't implmented yet: ExecStop=/usr/local/bin/rasctl -stop StandardOutput=syslog StandardError=syslog