summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-12-03 15:45:08 +0100
committerThomas Schwinge <tschwinge@gnu.org>2007-12-03 15:45:08 +0100
commit5b211b74c4a1b258b6528a0e986ea75c223cd50f (patch)
treeb047bc03f67c37d0d0b18109f2e35afb4304c67c /hurd
parent8db352b3eeeb6e6b7270e1720252923e926551d7 (diff)
hurd/running/debian/faq/apt_umount: Proper syntax.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/running/debian/faq/apt_umount.mdwn15
1 files changed, 8 insertions, 7 deletions
diff --git a/hurd/running/debian/faq/apt_umount.mdwn b/hurd/running/debian/faq/apt_umount.mdwn
index 2e3f36e2..91748157 100644
--- a/hurd/running/debian/faq/apt_umount.mdwn
+++ b/hurd/running/debian/faq/apt_umount.mdwn
@@ -8,13 +8,14 @@ is included in the section entitled
You can add a shell script umount so that apt can automatically unmount cdroms.
-#!/bin/sh
-# Filename: /usr/bin/umount
+ #!/bin/sh
+ # Filename: /usr/bin/umount
+
+ settrans -fg "$@"
-settrans -fg "$@"
+Give executable permission to the script.
-Give executable permission to the script
+ # chmod +x /usr/bin/umount
-# chmod +x /usr/bin/umount
-
-In /etc/fstab add a trailing '/' after cdrom like /cdrom/ since apt uses a traing '/'
+In `/etc/fstab` add a trailing `/` after cdrom like `/cdrom/` since apt uses a
+traing `/`.