:: Re: [DNG] vdev
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: aitor_czr
Fecha:  
A: Ralph Ronnquist, richard lucassen, dng
Asunto: Re: [DNG] vdev

On 08/13/2016 10:45 AM, aitor_czr wrote:
> ________    *vdev-example.postinst*    _________

>
> #!/bin/sh
>
> set -e
>
> PREFIX=/
>
> if [ $# -gt 1 ]; then
>    PREFIX=$1
>    shift 1
> fi

>
> update-rc.d -f udev remove
> update-rc.d -f udev-finish remove
>
> ln -s /usr/etc/init.d/vdev /etc/init.d/vdev
> ln -s /usr/etc/vdev /etc/vdev
> update-rc.d -f vdev defaults
> insserv
>
> cd /etc/rcS.d
> rm S03udev S10udev-finish
> ln -s ../init.d/vdev K02vdev
> update-rc.d vdev enable S
>
> mkdir /etc/vdev/acls
> echo \
> "[vdev-acl]
> uid=0" > "/etc/vdev/acls/00-whitelist-root.acl"
>
> update-rc.d -f udev remove
> update-rc.d -f udev-finish remove
> update-rc.d -f vdev defaults
> insserv
>
> #DEBHELPER#


Correction:

ln -s ../init.d/vdev S02vdev


    Aitor.