Changeset 43400
- Timestamp:
- 02/02/19 04:59:44 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/oealliance/usr/bin/titan.sh
r43399 r43400 40 40 rm /etc/network/interfaces 41 41 ln -s /mnt/network/interfaces /etc/network/interfaces 42 fi 43 if [ ! -L /etc/resolv.conf ];then 44 rm /etc/resolv.conf 45 ln -s /mnt/network/resolv.conf /etc/resolv.conf 42 46 fi 43 47 /etc/init.d/networking restart … … 225 229 } 226 230 227 startEmu() { 231 startemu() 232 { 228 233 emu.sh "start" "" & 234 } 235 236 checkemu() 237 { 238 emuret=`emu.sh check | grep "checkemu running emu="` 239 if [ -z "$emuret" ]; then 240 startemu restart 241 fi 242 } 243 244 startusercmd() 245 { 246 if [ -e /mnt/config/usercmd.sh ]; then 247 /mnt/config/usercmd.sh 248 fi 249 } 250 251 startdropcaches() 252 { 253 echo 3 > /proc/sys/vm/drop_caches 229 254 } 230 255 … … 308 333 } 309 334 310 startmnt 311 startplugins 312 starthotplug 313 startEmu 314 startopkg 315 startdate 316 startbootlogo 317 startlibs 318 starthomedir 319 startgui 335 case $1 in 336 first) 337 startmnt 338 startplugins 339 starthotplug 340 startemu 341 startopkg 342 startdate 343 startbootlogo 344 startlibs 345 starthomedir 346 startgui;; 347 last) 348 checkemu 349 startusercmd;; 350 reboot) 351 startdropcaches;; 352 esac 353
Note: See TracChangeset
for help on using the changeset viewer.