Browse Source

vnstat

pull/42/head
milisarge 5 months ago
parent
commit
171b9b7023
2 changed files with 13 additions and 1 deletions
  1. +9
    -1
      bin/milis-kur
  2. +4
    -0
      talimatname/2/net-utils/vnstat#2.6-1/libgerekler

+ 9
- 1
bin/milis-kur View File

@@ -912,7 +912,15 @@ menu_timezone() {
}

set_timezone() {
local TIMEZONE="$(get_option TIMEZONE)"
local MYTIMEZONE="$(get_option TIMEZONE)"
if [ -f $HEDEF/etc/sysconfig/clock ];then
source $HEDEF/etc/sysconfig/clock
if [ -z $TIMEZONE ]
echo "TIMEZONE=\"$MYTIMEZONE\"" >> $HEDEF/etc/sysconfig/clock
else
sed -i "s/${TIMEZONE}/${MYTIMEZONE}/g" $HEDEF/etc/sysconfig/clock
fi
fi
rm -f $HEDEF/etc/localtime
ln -s /usr/share/zoneinfo/$TIMEZONE $HEDEF/etc/localtime
}


+ 4
- 0
talimatname/2/net-utils/vnstat#2.6-1/libgerekler View File

@@ -0,0 +1,4 @@
libsqlite3.so.0
libm.so.6
libc.so.6
libgd.so.3

Loading…
Cancel
Save