Nicer rc scripts

Benjamin Tomos Lewis ben.tc1415 at gmail.com
Sun Apr 8 15:39:15 CEST 2007


Malcolm wrote:
> On 4/8/07, Stefan Sperling <stsp at stsp.in-berlin.de> wrote:
>   
>> On Sun, Apr 08, 2007 at 01:03:53PM +0100, Benjamin Tomos Lewis wrote:
>>     
>
>   
>>> +echo "Mounting /media..."
>>> +echo " Trying vfat on SD card..."
>>> +mount -t vfat -o noatime /dev/mmcblk1 /media & rchelper $?
>>>       
>> That won't work, & is wrong. Use && :
>>
>>   mount -t vfat -o noatime /dev/mmcblk1 /media && rchelper $?
>>     
>
> && won't work, use a newline.
>
> mount -t vfat -o noatime /dev/mmcblk1 /media
> rchelper $?
>
>   
yeah, i was using & as I was too lazy to insert a newline, sorry! Do you
want me to resubmit it?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 889 bytes
Desc: OpenPGP digital signature
Url : http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20070408/ba6ce27b/attachment.pgp 


More information about the dslinux-devel mailing list