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 && (