From 5b211b74c4a1b258b6528a0e986ea75c223cd50f Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 3 Dec 2007 15:45:08 +0100 Subject: hurd/running/debian/faq/apt_umount: Proper syntax. --- hurd/running/debian/faq/apt_umount.mdwn | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'hurd/running/debian/faq') 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 `/`. -- cgit v1.2.3