diff options
author | 2005-10-09 08:31:20 +0000 | |
---|---|---|
committer | 2005-10-09 08:31:20 +0000 | |
commit | 53c0ee2f8b484270b6ad60d53c5f7247e9a428db (patch) | |
tree | 693a49c846b08b89cc2c784dc692dd44904ed2ec /init.d | |
parent | Refreshing baselayout-vserver with revision 1560 from baselayout. (diff) | |
download | baselayout-vserver-53c0ee2f8b484270b6ad60d53c5f7247e9a428db.tar.gz baselayout-vserver-53c0ee2f8b484270b6ad60d53c5f7247e9a428db.tar.bz2 baselayout-vserver-53c0ee2f8b484270b6ad60d53c5f7247e9a428db.zip |
add back net services
svn path=/baselayout-vserver/trunk/; revision=52
Diffstat (limited to 'init.d')
-rwxr-xr-x | init.d/bootmisc | 13 | ||||
l--------- | init.d/net | 1 |
2 files changed, 13 insertions, 1 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc index ee12ca6..f9a76b3 100755 --- a/init.d/bootmisc +++ b/init.d/bootmisc @@ -34,6 +34,12 @@ start() { # Take care of random stuff [ /var/lock | /var/run | pam ] # + if [[ -d /var/lib/net-scripts/state ]] ; then + ebegin "Cleaning /var/lib/net-scripts/state" + rm -rf /var/lib/net-scripts/state/* + eend 0 + fi + ebegin "Cleaning /var/lock, /var/run" rm -rf /var/run/console.lock /var/run/console/* @@ -94,6 +100,13 @@ start() { eend 0 fi + ( + # Make sure our X11 stuff have the correct permissions + mkdir -p /tmp/.{ICE,X11}-unix + chown 0:0 /tmp/.{ICE,X11}-unix + chmod 1777 /tmp/.{ICE,X11}-unix + [[ -x /sbin/restorecon ]] && restorecon /tmp/.{ICE,X11}-unix + ) &> /dev/null fi # diff --git a/init.d/net b/init.d/net deleted file mode 120000 index 2995a4d..0000000 --- a/init.d/net +++ /dev/null @@ -1 +0,0 @@ -dummy
\ No newline at end of file |