summaryrefslogtreecommitdiff
path: root/hurd/running/debian/faq/apt_umount.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/running/debian/faq/apt_umount.mdwn')
-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 `/`.