• Home
  • Raw
  • Download

Lines Matching full:etc

96 # Pick the floppy device name from /etc/fstab
98 # Create the /etc/auto.master
99 # Create the /etc/auto.media
104 floppy_dev=`grep floppy /etc/fstab | awk '{print $1}'`
124 echo "/AUTOFS/MEDIA /etc/auto.media" > /etc/auto.master
125 echo "floppy -fstype=ext2 :$floppy_dev" > /etc/auto.media
130 # Verify that "/etc/init.d/autofs start|restart|stop|status|reload"
137 /etc/init.d/autofs start
140 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
141 echo "FAILED: "/etc/init.d/autofs start""
147 /etc/init.d/autofs stop
150 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
151 echo "FAILED: "/etc/init.d/autofs stop""
154 /etc/init.d/autofs start
159 /etc/init.d/autofs restart
162 /etc/init.d/autofs stop
163 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
164 echo "FAILED: "/etc/init.d/autofs restart""
170 /etc/init.d/autofs status
173 /etc/init.d/autofs stop
174 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
175 echo "FAILED: "/etc/init.d/autofs status""
179 /etc/init.d/autofs reload
182 /etc/init.d/autofs stop
183 rm -rf /etc/auto.master /etc/auto.media /AUTOFS
184 echo "FAILED: "/etc/init.d/autofs reload""
206 cp /etc/auto.master /etc/auto.media /AUTOFS/MEDIA/floppy/test
216 # Add an entry to the /etc/auto.master and reload.
220 echo "/AUTOFS/DISK /etc/auto.disk" >> /etc/auto.master
221 echo "disk -fstype=auto,rw,sync :$disk_partition " > /etc/auto.disk
222 /etc/init.d/autofs reload
229 cp /etc/auto.master /etc/auto.media /AUTOFS/DISK/disk/test
240 /etc/init.d/autofs stop
241 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
249 /etc/init.d/autofs stop
250 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS
270 /etc/init.d/autofs stop
271 rm -rf /etc/auto.master /etc/auto.media /etc/auto.disk /AUTOFS