소스 검색

mount fix

Danja Vasiliev 10 년 전
부모
커밋
3058ba0998
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      openwrt/DIR505A1/etc/rc.local

+ 3 - 0
openwrt/DIR505A1/etc/rc.local

@@ -3,6 +3,9 @@
 ## where SuperGlue storage is mounted 
 _SG=/www/htdocs
 
+## mount if needed
+mountpoint -q $_SG || block mount $_SG
+
 ## if /www is mounted
 mountpoint -q $_SG && (