Subversion Repositories livecd

Rev

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

Rev 131 Rev 137
Line 69... Line 69...
69
 
69
 
70
### -----------------------------------------------------------
70
### -----------------------------------------------------------
71
### Configure services
71
### Configure services
72
### -----------------------------------------------------------
72
### -----------------------------------------------------------
73
 
73
 
-
 
74
### save status of services that may be disabled, if LiveCD mounted over NFS
-
 
75
if [ $NFSROOT ]; then
-
 
76
    NFS_SERVICES="rpcidmapd NetworkManager NetworkManagerDispatcher \
-
 
77
                  netfs nfslock portmap network"
-
 
78
    for serv in $NFS_SERVICES; do
-
 
79
	chkconfig --list $serv | grep -q ":on" && echo $serv >> /$MOUNTDIR/service.on
-
 
80
    done
-
 
81
fi
-
 
82
 
74
### disable rpcidmapd, if LiveCD mounted over NFS
83
### disable rpcidmapd, if LiveCD mounted over NFS
75
if [ $NFSROOT ]; then
84
if [ $NFSROOT ]; then
-
 
85
    $MOUNTDIR
76
    chkconfig rpcidmapd off >/dev/null 2>&1
86
    chkconfig rpcidmapd off >/dev/null 2>&1
77
fi
87
fi
78
 
88
 
79
### disable NetworkManager, if LiveCD mounted over NFS
89
### disable NetworkManager, if LiveCD mounted over NFS
80
if [ $NFSROOT ]; then
90
if [ $NFSROOT ]; then