Subversion Repositories livecd

Rev

Rev 146 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 146 Rev 148
Line 72... Line 72...
72
#   if LiveCD mounted over NFS
72
#   if LiveCD mounted over NFS
73
if [ $NFSROOT ]; then
73
if [ $NFSROOT ]; then
74
    NFS_SERVICES="rpcidmapd NetworkManager NetworkManagerDispatcher \
74
    NFS_SERVICES="rpcidmapd NetworkManager NetworkManagerDispatcher \
75
                  netfs nfslock portmap network"
75
                  netfs nfslock portmap network"
76
    for serv in $NFS_SERVICES; do
76
    for serv in $NFS_SERVICES; do
77
	chkconfig --list $serv | grep -q ":on" && echo $serv >> /$MOUNTDIR/service.on
77
	chkconfig --list $serv 2>/dev/null | grep -q ":on" && echo $serv >> /$MOUNTDIR/service.on
78
    done
78
    done
79
fi
79
fi
80
 
80
 
81
### disable rpcidmapd, if LiveCD mounted over NFS
81
### disable rpcidmapd, if LiveCD mounted over NFS
82
if [ $NFSROOT ]; then
82
if [ $NFSROOT ]; then