]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/init.d/tmpfs
dnsmasq: Make command line customizeable.
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / tmpfs
index fc45db231487e9dc0c7605dd7dbebc81d23ce8f9..0e5a1e1e46b7839d61f42808a45699192cde0def 100644 (file)
@@ -25,6 +25,10 @@ case "$1" in
                if [ ! -e /var/lock/subsys ]; then
                        mkdir -p /var/lock/subsys
                fi
+               if [ ! -e /var/lock/time ]; then
+                       mkdir -p /var/lock/time
+                       chown nobody.root /var/lock/time
+               fi
                if [ ! -e /var/run/clamav ]; then
                        mkdir -p /var/run/clamav
                        chown clamav:clamav /var/run/clamav
@@ -68,6 +72,11 @@ case "$1" in
                evaluate_retval
                ;;
        restore)
+               if [ -e $RRDLOG.bak/cron/new.root ]; then
+                       if [ -e $RRDLOG.bak/cron/root ]; then
+                               rm -f $RRDLOG.bak/cron/new.root
+                       fi
+               fi
                if [ -e $RRDLOG.bak ];then
                        boot_mesg "Restore ramdisk..."
                        cp -pR $RRDLOG.bak/* $RRDLOG/