Subversion Repositories livecd

Rev

Rev 95 | Rev 110 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 95 Rev 101
Line 129... Line 129...
129
userdel -r sluser 2>/dev/null
129
userdel -r sluser 2>/dev/null
130
userdel -r user 2>/dev/null
130
userdel -r user 2>/dev/null
131
 
131
 
132
# move /opt to /usr/opt and link /opt -> /usr/opt
132
# move /opt to /usr/opt and link /opt -> /usr/opt
133
# (if not already yet done before)
133
# (if not already yet done before)
134
if [ ! -L /opt ]; then
134
# if [ ! -L /opt ]; then
135
    echo "Move /opt to /usr/opt"
135
#    echo "Move /opt to /usr/opt"
136
    mv /opt /usr/
136
#    mv /opt /usr/
137
    ln -s /usr/opt /opt
137
#    ln -s /usr/opt /opt
-
 
138
# fi
-
 
139
# 
-
 
140
# fix /opt link (can be removed later)
-
 
141
if [ -L /opt ]; then
-
 
142
    echo "Move /usr/opt back to /opt"
-
 
143
    rm -f /opt
-
 
144
    mv /usr/opt /opt
138
fi
145
fi
139
 
146
 
140
# umount PSI master
147
# umount PSI master
141
[ $PSI ] && umount /mnt/master 2>/dev/null
148
[ $PSI ] && umount /mnt/master 2>/dev/null
142
    
149