Posts Tagged 'shutdown'

Adding Startup And Shutdown Scripts in Ubuntu

I have my Ubuntu installed in Virtual Box. The very first thing that I needed to do was to setup my Ubuntu to recognize Windows drives. I setup two bash scripts to run at startup and shutdown. The following is what I have done.

anu@sw:/etc/init.d$ sudo vi vboxStartup
#!/bin/bash

# Mount the Win virtual drives - MyDocument, CShared, PidginWin
sudo mount -t vboxsf MyDocuments /mnt/MyDocuments
sudo mount -t vboxsf CShared /mnt/CShared
sudo mount -t vboxsf PidginWin /mnt/PidginWin

# Sync ...

Continue Reading ?
1