Danja Vasiliev il y a 10 ans
Parent
commit
cecee41ed1
3 fichiers modifiés avec 14 ajouts et 9 suppressions
  1. 7 7
      openwrt/common/etc/config/fstab
  2. 6 1
      openwrt/common/etc/rc.local
  3. 1 1
      openwrt/sg_0.1.revision

+ 7 - 7
openwrt/common/etc/config/fstab

@@ -18,10 +18,10 @@ config 'mount'
   option 'enabled_fsck' '0' 
   option 'options'      'rw,noatime,nodiratime'
 
-## this is for vfat
-#config 'mount'
-#  option 'label'        'SUPERGLUE'
-#  option 'target'       '/www/htdocs'
-#  option 'enabled'      '1' 
-#  option 'enabled_fsck' '0' 
-#  option 'options'      'rw,noatime'
+## compatibility
+config 'mount'
+  option 'label'        'sg-user'
+  option 'target'       '/www/htdocs'
+  option 'enabled'      '1' 
+  option 'enabled_fsck' '0' 
+  option 'options'      'rw,noatime,nodiratime'

+ 6 - 1
openwrt/common/etc/rc.local

@@ -1,4 +1,9 @@
-## some checks specific to Superglue
+#!/bin/bash
+
+## tweaks
+sysctl -w vm.swappiness=10
+
+## checks specific to Superglue
 
 ## where Superglue storage is mounted 
 _SG=/www/htdocs

+ 1 - 1
openwrt/sg_0.1.revision

@@ -1 +1 @@
-6
+7