nfs-utils: rework init scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-09 03:51:00 +01:00
parent 9317aa38df
commit ce2df11f88

View File

@ -1,5 +1,3 @@
#!/bin/sh
################################################################################ ################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv # Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv # http://www.openelec.tv
@ -24,8 +22,7 @@
# #
# runlevels: openelec, textmode # runlevels: openelec, textmode
. /etc/profile (
progress "create directories needed for nfs-utils" progress "create directories needed for nfs-utils"
install -m 755 -o rpcuser -g rpcuser -d /var/lib/nfs install -m 755 -o rpcuser -g rpcuser -d /var/lib/nfs
@ -35,3 +32,4 @@
touch /var/lib/nfs/rmtab && chown rpcuser:rpcuser /var/lib/nfs/rmtab touch /var/lib/nfs/rmtab && chown rpcuser:rpcuser /var/lib/nfs/rmtab
touch /var/lib/nfs/state && chown rpcuser:rpcuser /var/lib/nfs/state touch /var/lib/nfs/state && chown rpcuser:rpcuser /var/lib/nfs/state
touch /var/lib/nfs/xtab && chown rpcuser:rpcuser /var/lib/nfs/xtab touch /var/lib/nfs/xtab && chown rpcuser:rpcuser /var/lib/nfs/xtab
)&